Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syslog shows wrong timestamp #1349

Open
Semmelrocks opened this issue Jan 15, 2024 · 1 comment
Open

syslog shows wrong timestamp #1349

Semmelrocks opened this issue Jan 15, 2024 · 1 comment

Comments

@Semmelrocks
Copy link

Hi together,

I've a weird problem with logging radicale. I'm using 'syslog-ng' as
syslog which is working fine - except one thing.
This is a snippet of my logs some minutes ago:

Jan 12 23:04:45 server radicale: [2024-01-14 18:46:19 +0100]
[3038/Thread-122 (process_request_thread)] [INFO] PROPFIND response
status for '/user/' with depth '0' in 0.005 seconds: 207 Multi-Status
Jan 14 18:59:08 server su[5651]: (to user) root on pts/1

As you can see syslog is starting with a two day back timestamp while
the radical log itself delivers the correct time. To compare I'd made a
'su' some minutes later which shows the correct time. 'date' and
'hwclock' showing equal values. The timezone in /etc is set correct.

Where does the fully wrong time come wrong? Can the time for WSGI be
different to radicale? Is it actually a syslog-ng problem? Any ideas?

Thanks in advance!

@pbiering
Copy link
Collaborator

pbiering commented Mar 2, 2024

@Semmelrocks : have you checked any other log event which is stored by syslog-ng into another file...potentially syslog-ng started before timesync was successful and did not update it's internal time for logging since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants