INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: mattkhan on May 09, 2017, 10:03:57 am

Title: Is there a timestamp in the log file?
Post by: mattkhan on May 09, 2017, 10:03:57 am
I remember reading this somewhere but I can't find it now, what are the first two numbers in the log file?

e.g.

Code: [Select]
14307003: 564381440: Sharing Plugins: CUDPSocketReader::Accept: Finish (0 ms)

IIRC it's something like <ms since startup>: <some internal thread id>: <message>


Title: Re: Is there a timestamp in the log file?
Post by: Matt on May 09, 2017, 10:06:10 am
One of the first lines has the date.

Here's an example:
0000000: 2668: General: Starting logging: Date: 5/9/2017 8:35 am

Then it's the number of milliseconds since that time in the first number of every line.
Title: Re: Is there a timestamp in the log file?
Post by: mattkhan on May 09, 2017, 10:08:39 am
thanks, is the 2nd token some sort of thread id? or something else?

IMV it would be nicer to change the 1st token to an absolute value, i.e. epoch millis. Whenever I look at the logs, I invariably want to relate it to some real world event (i.e. I know it went wrong around 1615 *scans the logs for 1615*)
Title: Re: Is there a timestamp in the log file?
Post by: Matt on May 09, 2017, 10:11:08 am
Yes, the second number is the thread ID.