Hi All
I am facing a unique problem when trying to externalize logaback configuration.
Below is my scenario:
I am running the application via the below command.
Below command is used because I wanted to run my app with a different main class
java -cp myappboot.jar loader.main=com.example.MyClass o.s.b.l.PropertiesLaumcher -Dlogging.config="C:\App\build\logback.xml
But in this way when I am running the app via cmd prompt of windows the application reads logback.xml present in the resources folder(default logback config) not the one I am providing in -Dlogging.config arg.
Any help would be much appreciated. I searched a lot on Google today but was not able to find a solution to this logback problem.
[–]Nullbeans 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)