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
date and time from Log
Re: date and time from Log
[101.741649] is number of seconds since boot.
Re: date and time from Log
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?![Sad :(](./images/smilies/icon_sad.gif)
So if I don't know the boot date and time, can't I go back to the time of the event?
![Sad :(](./images/smilies/icon_sad.gif)
Re: date and time from Log
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.
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.