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

Re:Need help in log4j.xml externalization

2015-10-24 Thread Yan Fang
Hi Ankush, 1. why we need to give first of all -Dsamza.container.name=samza-application-master as it is already present in run-am.sh I think there is a confusion here. When you set export JAVA_OPTS="-Dlog4j.configuration=file://$PWD/deploy/alice/config/log4j.xml ", you only set it in the