Bug 10620 - SC should store version and platform info in scanner.log and server.log
: SC should store version and platform info in scanner.log and server.log
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.4.0
: All All
: P3 enhancement with 1 vote (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-09 10:38 UTC by Moonbase
Modified: 2009-10-05 14:38 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moonbase 2009-01-09 10:38:50 UTC
To better help diagnosing user and revision-based problems, I think SC should store it’s version and platform information in server.log and scanner.log whenever it is started (again).

This would help SlimDevices/Logitech support personnel as well as users themselves. For instance, I could easily check for changed behaviour and see in the log files with which version things happened/were fixed.
Comment 1 Michael Herger 2009-01-10 09:05:23 UTC
sounds very reasonable
Comment 2 Michael Herger 2009-01-12 04:36:49 UTC
Triode - is there a simple way to log one line at initialization without making it an "error" level message? Users would get scared by those...
Comment 3 Michael Herger 2009-01-12 04:37:29 UTC
No enhancements in the 7.3.x series
Comment 4 Adrian Smith 2009-01-12 12:45:43 UTC
Most trival way would be to add a new log category and set it to INFO and then only use it to log the startup message.  Not sure how much more state this is adding for just this though.
Comment 5 Michael Herger 2009-01-14 00:48:12 UTC
change 24643 - add version, revision number and build time to log whenever SC or the scanner are started

Adrian $log->error() seems like the simplest way to achieve this. And as the log level is not logged itself, this scare users.
Comment 6 Moonbase 2009-01-16 18:33:41 UTC
Confirmed working in SC7.3.3-24684/Win for server.log:

[09-01-16 21:41:03.3437] main::init (270) Starting SqueezeCenter (v7.3.3, r24684, Fri Jan 16 03:04:42 PST 2009)

Didn't see anything in scanner.log, though.
Comment 7 James Richardson 2009-10-05 14:38:09 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.