CQ 5.6.1 & Logback
Has anybody tried configuring CQ5.6.1 with Logback which provides obvious benefits over Log4J. SL4J provides inbuilt support for logback and CQ5.6.1 logging is based on SL4J, so I guess it should be achievable.
Also there are certain use cases where-in we need to provide unique request ID to all the loggers which are serving that request. To achieve this, I was thinking over to use MDC in a request filter and then changing default log format to include this in every log statement. At the same time I don't want to change any log statement which I have in all the existing java classes but want to do it by updating the default log format. Did anybody do something like this? If yes, please let me know how?