So I have a library that I am using in my project that uses System.out for logging and I want all of my logging to be standardized in the play logger (play.Logger
). So, I was wondering if there is a way of redirecting the System.out to the Play Logger say at the debug
level?
Maybe by changing System.out to use a different stream?
Notes:
My Play logger is configured to use the following appenders:
ch.qos.logback.core.ConsoleAppender
ch.qos.logback.core.FileAppender
I think the library only calls System.out.println(String)