Actions
Task #12964
closedlogback does not change its configuration at runtime
Status:
Closed
Priority:
Normal
Assignee:
Category:
System Application
Target version:
Start date:
Nov 30, 2018
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Development, Pre-Production, Production
Description
It should reload its configuration ad fixed intervals, but it does not.
Updated by Andrea Dell'Amico over 6 years ago
- Status changed from New to In Progress
It's a bug, introduced in version 1.1.7 and fixed in 1.1.13. The bug tracking is here: https://jira.qos.ch/browse/LOGBACK-1194?jql=text%20~%20%22scanPeriod%22
As a workaround it's possible to specify an explicit interval, eg:
<configuration scan="true" scanPeriod="60 seconds" debug="false">
I tested that configuration successfully on accounting-harvester.d4science.org.
Updated by Andrea Dell'Amico over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
I added scanPeriod="60 seconds"
to the logback template in the smartgears playbook.
The change must be provisioned on the servers where the functionality is needed, otherwise it will deployed at the next smartgears upgrade.
Updated by Luca Frosini over 6 years ago
I tested a log level change on accounting-harvester.d4science.org and it worked.
Thanks a lot
Actions