Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-380

LoggingEvents received from RemoteAppender are UTC, but TimeStamp.Kind is "Local" and not "Utc"

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.2.11
    • None
    • Appenders
    • .NET 4 application on RaspberryPi (Arch Linux) with Mono 2.10.9, logging with RemoteAppender to an application on Windows 7, which uses a custom appender to add the received LoggingEvents to a collection.

    Description

      The timestamps from RemoteAppender are UTC, but the TimeStamp.Kind property is "Local".

      Both the Windows and Linux machines have their system time set to local time.

      The LoggingEvent TimeStamps that are received from the Windows machine (not going through RemoteAppender) contain local timestamps, and the LoggingEvent.TimeStamp.Kind is "Local".

      The LoggingEvent TimeSTamps that are received from the Linux machine (going through RemoteAppender) contain UTC timestamps, but the TimeStamp.Kind is "Local", not "Utc".

      If the Kind property was UTC, I could adjust the timestamps from both log event sources to match (both UTC/both Local). Unfortunately, I cannot tell the difference using just the TimeStamp field itself.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zman97211 Steve Ziuchkovski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment