logback / LOGBACK-1576 [Open]
Configuration reloading not working with + in path

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1576

==============================
 Issue created
------------------------------

Oliver Pfau created this issue on 20/Sep/21 12:52 PM
Summary:              Configuration reloading not working with + in path
Issue Type:           Bug
Affects Versions:     1.2.3
Assignee:             Logback dev list
Created:              20/Sep/21 12:52 PM
Environment:          Windows 10
Priority:             Minor
Reporter:             Oliver Pfau
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 "+" the configuration reloading with scan="true" and scanPeriod does 
not work. If I remove the plus it works.
  
  The part of my logback.xml:
  
   
  {code:java}
  <?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>
  ...
  {code}
   
  
  Are there any restrictions existing for the path to the logback.xml?


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)

_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to