Roundup Tracker - Issues

Message8457

Author rouilj
Recipients rouilj
Date 2026-05-30.16:51:09
Message-id <1780159869.43.0.954262525071.issue2551418@roundup-tracker.org>
In-reply-to
In issue 2551417 Ross saw the following oddness in the logs:

127.0.0.1 - - [23/May/2026 02:07:10] "GET /demo/rest HTTP/1.1" 403 -
127.0.0.1 - - [22/May/2026 19:07:10] "GET /favicon.ico HTTP/1.1" 200 -
127.0.0.1 - - [23/May/2026 02:07:42] "GET /demo/index HTTP/1.1" 200 -
127.0.0.1 - - [23/May/2026 02:07:42] "GET /demo/rest HTTP/1.1" 403 -
127.0.0.1 - - [22/May/2026 19:08:57] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [23/May/2026 02:08:57] "GET /demo/index HTTP/1.1" 200 -

note the change un timezone for / and /favicon to US/Pacific from the UTC
used by demo. This is because demo has the timezone set to utc in it's config.ini
while the server is in the Us/Pacific timezone. So / and /favicon are in server
timezone.

Do we fix this? If so how?

I think this can be improved. We can:

  1 override the timeformat setting for logger to include the timezone
  2 force timezone to GMT (since it doesn't have shifts like daylight savings)
  3 force the timezone to one set by the user

Within a tracker, the times are logged consistently in a single timezone.

Logging from different trackers can have different default timezones.

roundup-server when logging a url outside a tracker, logs using the server timezone.
When running wsgi under waitress I suspect a similar issue if you use logging middleware
to generate http style log records.

I am sort of leaning toward 1 and add timezones since defining the format should
take effect across the stack in a wsgi environment (provided logging occurs after
roundup initializes).

Thoughts?
History
Date User Action Args
2026-05-30 16:51:09rouiljsetrecipients: + rouilj
2026-05-30 16:51:09rouiljsetmessageid: <1780159869.43.0.954262525071.issue2551418@roundup-tracker.org>
2026-05-30 16:51:09rouiljlinkissue2551418 messages
2026-05-30 16:51:09rouiljcreate