FileRequestLogger not using log4j. Intentional?

Hi all,

When we configured query logging to files, we noticed that the FileRequestLogger doesn’t use log4j ( Is that intentional or something we could get changed with a pull request?

Best regards,


I think a better question is:

What is your desired behavior?

Is it something like this?

Hi Charles,

Thanks a lot for the pull request. That looks like what we were looking for. :slight_smile:

One question we still have is how the logging configuration would look like if we want to keep the query log in a different file than all the other logs. Is that even possible with that “slf4j request logger”?

Best regards,


Yes, the default impl for logging in druid is log4j2. You can see an example config at and read more about log4j2 at and

This should be going out next release