Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.2.3
-
None
-
None
-
Windows 10
Description
I am starting my application specifying passing the path to the logbach.xml like this: "java -Dlogback.configurationFile=data/logback.xml -jar myapp.jar"
In the absolute path to the logback.xml is a + character and it seems like with that character the configuration reloading with scan="true" and scanPeriod does not work. If I remove the plus it works.
The part of my logback.xml:
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="5 seconds" debug="true"> <statusListener class="ch.qos.logback.core.status.NopStatusListener"/> <!-- Appender definition --> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>userdata/log/hmi.log</file> ...
Are there any restrictions existing for the path to the logback.xml?