[ https://issues.apache.org/jira/browse/SLING-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13844092#comment-13844092 ]
Bertrand Delacretaz commented on SLING-3275: -------------------------------------------- IIUC with buffered logging you risk losing log messages if you app crashes, so I assume you'll keep it disabled by default? Also, maybe add a note in the config property description, that setting that to true can cause log messages be lost in a crash. > Add Buffered Logging Configuration in "Apache Sling Logging Logger" > ------------------------------------------------------------------- > > Key: SLING-3275 > URL: https://issues.apache.org/jira/browse/SLING-3275 > Project: Sling > Issue Type: Improvement > Components: Commons > Affects Versions: Commons Log 4.0.0 > Reporter: Chetan Mehrotra > Assignee: Chetan Mehrotra > Priority: Minor > > Logback supports buffered logging [1]. As of now it can be used directly by > configuring the appender via Logback xml file [2]. To simplify its usage we > should expose a config as part of OSGi config > [1] http://logback.qos.ch/manual/encoders.html#immediateFlush > [2] > http://sling.apache.org/documentation/development/logging.html#wzxhzdk13wzxhzdk14configuring-osgi-appenders-in-the-logback-config -- This message was sent by Atlassian JIRA (v6.1.4#6159)