[slf4j-dev] [JIRA] Updates for SLF4J-546: Fluent logging API doesn't populate timestamp with Reload4JLogger

QOS.CH (JIRA) noreply-jira at qos.ch
Fri Apr 1 12:47:00 CEST 2022


SLF4J / SLF4J-546 [Open]
Fluent logging API doesn't populate timestamp with Reload4JLogger

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

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-546

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

Joseph Walton created this issue on 01/Apr/22 12:36 PM
Summary:              Fluent logging API doesn't populate timestamp with Reload4JLogger
Issue Type:           Bug
Affects Versions:     2.0.0-alpha7
Assignee:             SLF4J developers list
Components:           Implementations
Created:              01/Apr/22 12:36 PM
Priority:             Major
Reporter:             Joseph Walton
Description:
  If my log format includes a timestamp with {{%d}}:
  {noformat}
  log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  log4j.appender.A1.layout.ConversionPattern=%d %m%n
  {noformat}
  and I log with both the traditional and fluent APIs:
  {noformat}
          log.info("A simple message");
          log.atInfo().log("Fluent message");
  {noformat}
  then the timestamp isn't populated for the fluent-logged message:
  {noformat}
  2022-04-01 21:34:37,776 A simple message
  1970-01-01 10:00:00,000 Fluent message
  {noformat}
   


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



More information about the slf4j-dev mailing list