Jump to content

Log Timestamp


Recommended Posts

spencerisadog
Posted

My logs don't seem to reflect the actual FreeNAS clock.  Is there some internal clock I should be setting?  Or is the Emby Log on a different timezone (I'm on EST)?

Happy2Play
Posted

What time are the logs showing?

 

In Windows the log is showing the system time.

 

 

2016-01-15 16:17:55
spencerisadog
Posted (edited)

Does it log from top to bottom?  The last timestamp on mine (FreeNAS) says 

 

2016-01-16 01:30:03.4447

 

EDIT: Actual time 2016-01-15 08:32

EDIT EDIT:  FreeNAS time is Friday, Jan 15 20:32:57 EST 2016

Edited by spencerisadog
Posted

Wow, this was timely... I too am experiencing the same issue on my FreeNAS jail.  I am a new user and I have only been running this for about a week.  It would appear the timestamp is UTC/GMT rather than local time.  I am on the west coast and UTC is would be the correct time.

 

 # tail -n1 server-63588499400.txt
2016-01-16 01:40:29.8621 Info HttpServer: HTTP Response 200 to 192.168.0.82. Time: 9ms. http://192.168.0.204:8096/dlna/17bb9e4c46763aea521de8c51f04cdb7/description.xml
# date
Fri Jan 15 17:42:29 PST 2016
 

Is there a way to switch to local time?

 

Thanks

Posted

There is one thing I will try for the next release, which is explicitly disabling utc (even though this is the default). but if the issue persists then I think it's likely in the hands of our logging framework and out of our control

 

https://github.com/NLog/NLog/wiki/Longdate-Layout-Renderer

 

It might even be out of the Nlog's control if it turns out that the mono runtime just isn't reporting the right local time

spencerisadog
Posted

Thanks @@Luke! I'm okay doing some time math in my head. I just didn't know if it was a setting or just a wonky install.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...