fix(logging): log timestamps use local time instead of UTC#28434
Merged
vincentkoc merged 4 commits intoopenclaw:mainfrom Mar 2, 2026
Merged
fix(logging): log timestamps use local time instead of UTC#28434vincentkoc merged 4 commits intoopenclaw:mainfrom
vincentkoc merged 4 commits intoopenclaw:mainfrom
Conversation
Problem: Log timestamps used UTC, but docs say they should use host local timezone
Verify logger uses local time (not UTC) in file logs
Contributor
Greptile SummaryReplaced UTC timestamps with local time format in file logger to match documentation stating "the date uses the gateway host's local timezone."
Confidence Score: 5/5
Last reviewed commit: 06239e7 |
Linux2010
pushed a commit
to Linux2010/openclaw
that referenced
this pull request
Mar 2, 2026
…28434) * fix(logging): log timestamps use local time instead of UTC Problem: Log timestamps used UTC, but docs say they should use host local timezone * test(logging): add test for logger timestamp format Verify logger uses local time (not UTC) in file logs * changelog: note logger timestamp local-time fix --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
mrosmarin
added a commit
to mrosmarin/openclaw
that referenced
this pull request
Mar 2, 2026
* main: (174 commits) refactor(gateway): unify control-ui and plugin webhook routing fix(exec): resolve PATH key case-insensitively for Windows pathPrepend (openclaw#25399) (openclaw#31879) fix(tsgo): unblock baseline type errors (openclaw#31873) fix(security): harden sms.send dangerous-node defaults fix(gateway): let POST requests pass through root-mounted Control UI to plugin handlers fix(browser): fail closed navigation guard with env proxy test(perf): reduce timer teardown overhead in cron issue regressions refactor: split browser context/actions and unify CDP timeout policy test(perf): cache redact hints and tune guardrail scan concurrency docs(changelog): credit sessions_spawn agentId validation fix (openclaw#31381) fix(agents): validate sessions_spawn agentId format (openclaw#31381) fix(agents): add strict format validation to sessions_spawn for agentId fix(logging): log timestamps use local time instead of UTC (openclaw#28434) test(perf): remove redundant module reset in system presence version tests test(perf): avoid module reload churn in config guard tests fix(gateway): fail closed plugin auth path canonicalization docs(changelog): credit sandbox mkdirp boundary fix (openclaw#31547) fix(sandbox): allow mkdirp boundary checks on existing directories (openclaw#31547) fix(sandbox): allow mkdirp boundary check on existing directories fix: preserve dns pinning for strict web SSRF fetches ...
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Mar 2, 2026
…28434) * fix(logging): log timestamps use local time instead of UTC Problem: Log timestamps used UTC, but docs say they should use host local timezone * test(logging): add test for logger timestamp format Verify logger uses local time (not UTC) in file logs * changelog: note logger timestamp local-time fix --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
dawi369
pushed a commit
to dawi369/davis
that referenced
this pull request
Mar 3, 2026
…28434) * fix(logging): log timestamps use local time instead of UTC Problem: Log timestamps used UTC, but docs say they should use host local timezone * test(logging): add test for logger timestamp format Verify logger uses local time (not UTC) in file logs * changelog: note logger timestamp local-time fix --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
OWALabuy
pushed a commit
to kcinzgg/openclaw
that referenced
this pull request
Mar 4, 2026
…28434) * fix(logging): log timestamps use local time instead of UTC Problem: Log timestamps used UTC, but docs say they should use host local timezone * test(logging): add test for logger timestamp format Verify logger uses local time (not UTC) in file logs * changelog: note logger timestamp local-time fix --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…28434) * fix(logging): log timestamps use local time instead of UTC Problem: Log timestamps used UTC, but docs say they should use host local timezone * test(logging): add test for logger timestamp format Verify logger uses local time (not UTC) in file logs * changelog: note logger timestamp local-time fix --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Log timestamps used UTC, but documentation says:
Solution
Replace
toISOString()withformatLocalIsoWithOffset()in file logger.Before:
2026-02-27T06:50:21.000Z(UTC)After:
2026-02-27T14:50:21.000+08:00(local time)