Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-3507

We still use locale (%Z) on windows logging time even though were statically UTC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.7.0, 5.8.0
    • Fix Version/s: None
    • Component/s: Web Agents

      Description

      #define                           LOG_TIME_FMT  "%Y-%m-%d %H:%M:%S %Z"
      
       int sz = strftime(buffer, buffer_sz, LOG_TIME_FMT, &t);
      

      This means the locale comes out as "Central Standard Time" when the time logged is UTC.
      e.g "2020-05-26 19:34:31 Central Standard Time ERROR"

      With other platforms we use UTC so makes sense to use UTC for Windows.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeremy.cocks Jeremy Cocks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: