Search code examples
log4jmarathon

How to enable log4j for Marathon


I'd like to configure log4j for Marathon, where should I put the log4j.properties. I start Marathon by ./bin/start --master xxx


Solution

  • export JAVA_OPTS=-Dlog4j.configuration=file://path_of_log4j_properties