[logback-dev] [JIRA] Updates for LOGBACK-1662: PatternLayout: provide conversion keyword to access LoggingEvent#getSequenceNumber
QOS.CH (JIRA)
noreply-jira at qos.ch
Wed Aug 17 00:18:00 CEST 2022
logback / LOGBACK-1662 [Open]
PatternLayout: provide conversion keyword to access LoggingEvent#getSequenceNumber
==============================
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-1662
==============================
Issue created
------------------------------
Bertrand Renuart created this issue on 17/Aug/22 12:07 AM
Summary: PatternLayout: provide conversion keyword to access LoggingEvent#getSequenceNumber
Issue Type: New Feature
Affects Versions: 1.3.0-beta0
Assignee: Logback dev list
Components: logback-classic
Created: 17/Aug/22 12:07 AM
Priority: Major
Reporter: Bertrand Renuart
Description:
Starting with Logback 1.3 a sequenceNumberGenerator can be added to the LoggerContext to assign a unique sequence number to logging events as soon as they are created. This sequence number is stored within the logging event and can be accessed using the new getSequenceNumber() method.
Unfortunately there is apparently now way to refer to that sequence number in a PatternLayout - at least I could no find the corresponding conversion keyword.
==============================
This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
More information about the logback-dev
mailing list