Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-944

Log4j Flume appender is not adding millisecond to the event headers when the event is logged at 000 milliseconds.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc1
    • Fix Version/s: 2.2
    • Component/s: Flume Appender
    • Labels:
      None

      Description

      If the event happens at exact 000 milliseconds, then milliseconds is not inserted.
      We are sending the data to Flume appenders in syslog Format. where it will add headers. In header the standard time stamp is in Below Format
      2015-01-06T07:32:43.345-08:00
      But when the event is logged exactly at 000 milliseconds then millisecond part is missing as we can see in below code.
      2015-01-06T07:32:43-08:00
      This cause exception when we process the data including milliseconds.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vkr Vinayaka Ramachandra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: