I want to log "pretty printed" XML using Logback/SLF4J. Right now, what I get in logs is totally unreadable and I have to open something to parse it. I want to be able to configure logging for debug (because I want to see XML only in debug) to output XML in a human readable way.
Is it possible?