[slf4j-dev] [JIRA] Updates for SLF4J-509: Append log records to the end of the log file

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Feb 15 06:23:00 CET 2021


SLF4J / SLF4J-509 [Open]
Append log records to the end of the log file

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

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/SLF4J-509

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

Dmitriy Fedoriv created this issue on 15/Feb/21 6:11 AM
Summary:              Append log records to the end of the log file
Issue Type:           Improvement
Assignee:             SLF4J developers list
Components:           slf4j-simple
Created:              15/Feb/21 6:11 AM
Labels:               FileAppender appender
Priority:             Minor
Reporter:             Dmitriy Fedoriv
Description:
  It would be great to have the ability to aggregate all log records in a single log file. As a short term solution, we could expose a new option to control FileOutputStream append, as a long term - design simple log retention functionality.
  
  `org.slf4j.simpleLogger.logFileAppend`
  When true, records will be appended to the end of the file. When set to false, the file will be cleared before new records are written. Defaults to `false` for backward compatibility.


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



More information about the slf4j-dev mailing list