Druid does not log anything into a log file

Hi,

I try to send the logs into log files. Below is an example for logging coordinator activities.

I have added -Dlogfilename=coordinator and added file name in conf/druid/_common/log4j2.xml. I saw the log file coordinator created. But it is empty.

I must have missed something, and try to look for it on this web site, but cannot figure it out.

Thanks for your help.

[command]

java -server -Xms256m -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Dlogfilename=coordinator -Dlog4j.debug -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Dj\

ava.io.tmpdir=/mnt/druid/var/tmp -Dderby.stream.error.file=/mnt/druid/var/druid/derby.log -cp /mnt/druid/conf/druid/_common:/mnt/druid/conf/druid/coordinator:/mnt/druid/lib/* io.druid.\

cli.Main server coordinator

[conf/druid/_common/log4j2.xml]

%d %p %c{1.} [%t] %m%n