Bug 11437 - 7.4-25624: Logfile rotation on SC restart fails (Windows)
: 7.4-25624: Logfile rotation on SC restart fails (Windows)
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.4.0
: PC Windows XP
: -- normal with 1 vote (vote)
: ---
Assigned To: Unassigned bug - please assign me!
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-22 07:13 UTC by Moonbase
Modified: 2009-03-24 23:24 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-03-22 07:13:35 UTC
When trying to restart SC from the command line with a bigger log file (> rotation maximum), this happens:

D:\Projekte\SqueezeCenter\7.4\server>perl slimserver.pl
Undefined subroutine &Slim::Utils::OS::move called at D:/Projekte/SqueezeCenter/7.4/server/Slim/Utils/OS.pm line 147.
Log4perl: Seems like no initialization happened. Forgot to call init()?

Can be overcome by manually deleting/renaming scanner.log and/or server.log.
Comment 1 Michael Herger 2009-03-22 23:40:29 UTC
change 25672 - module methods aren't loaded if module is only required. Need to use full name.
Comment 2 Moonbase 2009-03-23 07:11:19 UTC
Confirm fixed.
Comment 3 Jim McAtee 2009-03-24 17:40:56 UTC
Is this 7.4 only?
Comment 4 Michael Herger 2009-03-24 23:24:50 UTC
> Is this 7.4 only?

Yes.