Re:Re:Need help in log4j.xml externalization

2015-11-02 Thread Patni, Ankush
Hi Yan, Thanks for help. I have another doubt. In my running task I want to have different log files may be based on log level. Use case : Running task generate 2 different logs. (1)General logs may be processing some Event with tenant and all. (2)Every 5 minute task emits the timing

Re:Need help in log4j.xml externalization

2015-10-26 Thread Patni, Ankush
Hi Yan, Small doubt : Is it possible to set the log4j.xml in somewhere so that it will not get mix with yarn client and will be available for yarn application only. With this I will be able to get the logs for my individual task in their respective container. Ankush

Re:Need help in log4j.xml externalization

2015-10-26 Thread Patni, Ankush
Hi Yang, Thanks a lot for help. I have couple of doubts and want to clear them : I am starting samza task from same machine where it is running. My problem is : I am not using StreamAppender as suggested by you in previous reply. But still DailyRollingFileAppender uses the ${samza.container.nam

Need help in log4j.xml externalization

2015-10-21 Thread Patni, Ankush
Hello Team, I am trying to externalize log4j from my task. So at present I run all the task from one tar.gz. And inside that I have log4j.xml. But now I want to externalize the log4j.xml so that I can have more control over logs. So before running my task I tried to set the JAVA_OPTS: export