[SlimDevices: Beta] Re: Slimserver loses all my music on latest trunk :-(

kdf slim-mail at deane-freeman.com
Mon Jan 8 20:36:20 PST 2007


Quoting "max.spicer"  
<max.spicer.2k3ehz1168261202 at no-mx.forums.slimdevices.com>:

>> [22:32:59.0218] Slim::bootstrap::theEND (338) Got to the END
>> eden:/usr/local/slimserver# Can't call method "log" on an undefined
>> value at /usr/local/slimserver/CPAN/Log/Log4perl/Appender.pm line 189.
>> Can't call method "log" on an undefined value at
>> /usr/local/slimserver/CPAN/Log/Log4perl/Appender.pm line 189.

clearly something wrong with the logging initialisation.  However, as  
it's in a CPAN module, it's hard to know what is leading into that  
point.  You'd have to add a Slim::Utils::Misc::bt() unless defined  
$self->{'appender'} before that line in order to work back to the line  
in slimserver that is causing the problem.

maybe something in the init.d that is adding bad debug/logfile prefs?   
svn up doesn't handle the init.d, /etc/defaults or prefs file.  In the  
init.d/slimserver, for example there was a --logfile command option,  
which needs to change. It's now:

--logdir $LOGDIR \

and at the top of the file:

$LOGDIR = /var/log/$NAME  (where $NAME = slimserver)

-kdf (better late than never I guess)


More information about the beta mailing list