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
I suggest you use 2 logback configuration files. The first one in the classpath defined as:
and you put all the configuration in the other one. Logback will scan both files for updates.