How can we load logback.xml via jvm argument if this is not present in project classpath?
I'm using
-Dlogback.configuration=file:C:logbacslogback.xml
but this is not working.
I found the solution
-Dlogging.config="C:logbacslogback.xml"
is working fine for me.
Updated because the previous answer was obsolete
2.1m questions
2.1m answers
60 comments
57.0k users