date and time from Log

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: date and time from Log

Re: date and time from Log

by zaininpf » Fri May 29, 2020 10:52 am

OK, tahnks!

Re: date and time from Log

by aka » Thu May 28, 2020 2:50 pm

Local terminal clock can be wrong. Raspberry has no clock at all. So we never rely on local clock.

You can send logs to another machine with unix-like syslog server (it's trivial service, google knows several for windows too) and with proper clock:

https://wtware.com/docs5/config.html#syslog

BTW, if user configures NTP (ntp= config option or 042 DHCP parameter), we can put real date and time instead of seconds since boot. I'll try to implement it. But not in short term, sorry.

Re: date and time from Log

by zaininpf » Tue May 26, 2020 10:34 am

Thanks for the reply.
So if I don't know the boot date and time, can't I go back to the time of the event? :(

Re: date and time from Log

by aka » Mon May 25, 2020 10:00 pm

[101.741649] is number of seconds since boot.

date and time from Log

by zaininpf » Mon May 25, 2020 10:19 am

Hello everyone,
observing the WTWARE log how can I trace the date and time when the events were recorded?

for example:
...
[rdpclient 774] [43.580642] 32-bit color.
[rdpclient 774] [101.741649] errorInfo 0x00000000.
[rdpclient 774] [101.742186] Receive Disconnect Provider Ultimatum.
[gm] [101.742224] TSClient (sessionId 2, pid 774) gracefully end.
...

thanks
Andrea

Top