Currently I have logback configuration file i.e logback.xml which is src/main/resources. I want to set the logging level but i want control outside of
logback.xml
src/main/resources
If you just want to change the log level you don't need to override the whole file, you can do this:
Then if you set the system property:
-Dlog.level=DEBUG
It will override the default of 'INFO'.