Bug 6084 - Logging leaks to console during startup
: Logging leaks to console during startup
Status: CLOSED DUPLICATE of bug 6081
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.0
: PC RedHat Linux
: P2 minor (vote)
: ---
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-07 11:03 UTC by Mark Miksis
Modified: 2008-12-18 11:12 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Miksis 2007-11-07 11:03:19 UTC
When starting squeezecenter, initial log messages are sent to the console.  Typical startup looks like this:

[root@centos-5-vm ~]# service squeezecenter start
Starting SqueezeCenter: [10:44:16.4835] SqueezeCenter OSDetect init...
[10:44:16.7750] SqueezeCenter settings init...
[10:44:16.8141] main::init (295) SqueezeCenter OS Specific init...
[10:44:16.8181] main::init (315) SqueezeCenter daemonizing...
[10:44:16.9174] Slim::bootstrap::theEND (400) Got to the END
                                                           [  OK  ]
[root@centos-5-vm ~]#

Tested on Linux, but may be cross-platform.  I understand that this may be a known issue related to how Log4Perl starts up, but I couldn't find anything in bugzilla.
Comment 1 KDF 2007-11-07 11:32:43 UTC
I do not see this with the debian init.d script.
Comment 2 Mark Miksis 2007-11-07 11:51:57 UTC
Something in the debian script start script must be masking the problem.

[root@centos-5-vm ~]# usermod -s /bin/bash squeezecenter
[root@centos-5-vm ~]# su -l squeezecenter -c '/usr/sbin/squeezecenter-server --daemon --prefsdir=/etc/squeezecenter --logdir=/var/log/squeezecenter --cachedir=/var/cache/squeezecenter'
[11:36:19.2600] SqueezeCenter OSDetect init...
[11:36:19.4309] SqueezeCenter settings init...
[11:36:19.4588] main::init (295) SqueezeCenter OS Specific init...
[11:36:19.4614] main::init (315) SqueezeCenter daemonizing...
[11:36:19.5555] Slim::bootstrap::theEND (400) Got to the END
[root@centos-5-vm ~]# 


Note that squeezecenter-server is just slimserver.pl.
Comment 3 Andy Grundman 2007-11-26 10:42:08 UTC

*** This bug has been marked as a duplicate of 6081 ***
Comment 4 Chris Owens 2008-03-07 09:03:21 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.