How to enable debug logging for druid tasks and queries?

Hello all,

I am looking for how to enable debug logging for druid tasks and queries.

http://druid.io/docs/latest/configuration/logging.html

This link is not much helpful for a person like me who dont know java.

Can anyone explain in details on how to enable logging?

Thanks a lot.

Shrini

Good question Shrini.

Druid by default ships with log4j2 which is configured by a file called
log4j2.xml

``

An example of one with debug enabled is in the druid repository: https://github.com/druid-io/druid/blob/master/common/src/main/resources/log4j2.debug.xml

The documentation for log4j2 can be found on their website at https://logging.apache.org/log4j/2.x/manual/configuration.html and is pretty good for most use cases.