[JIRA] Updates for LOGBACK-1641: Disable logback log file deletion by setting maxHistory to zero

logback / LOGBACK-1641 [Open] Disable logback log file deletion by setting maxHistory to zero ============================== 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-1641 ============================== Issue created ------------------------------ Mohammad Hewedy created this issue on 16/May/22 11:30 AM Summary: Disable logback log file deletion by setting maxHistory to zero Issue Type: Improvement Assignee: Logback dev list Components: logback-core Created: 16/May/22 11:30 AM Labels: documentation Priority: Major Reporter: Mohammad Hewedy Description: crosspost: [https://stackoverflow.com/questions/72246036/disable-logback-log-file-deleti...] I am trying to disable the log file deletion in {{logback}}. I searched the documentation but found no way to accomplish this. However, the source code seems to depend on {{maxHistory}} flag set to 0 which means unbounded history. [see|https://github.com/qos-ch/logback/blob/3ce9f04d6e5f40155839cfe9ada90d9454305...] and [see|https://github.com/qos-ch/logback/blob/3ce9f04d6e5f40155839cfe9ada90d9454305...]. but hence I cannot find it documented anywhere, I am afraid to use so to be changed in the future without any declarations! So my question is, Is it documented somewhere I don't know about? if not, can you document it somewhere? ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
participants (1)
-
QOS.CH (JIRA)