FAQ  •  Register  •  Login

Log File Gets to Big

<<

historybot

Serviio newbie

Posts: 4

Joined: Tue May 22, 2012 8:37 am

Post Tue May 22, 2012 8:43 am

Log File Gets to Big

Hi,

Just started using Serviio today. Running on Windows 7. I have it set to keep a detailed log in the config file.

The log file is growing too big, as it seems to be ignoring the 500kb limit in the config file. The first log file was 153mb when I deleted it. As I'm typing this I see the new one has already grown to over 5mb.

Any idea what's going on?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue May 22, 2012 9:08 am

Re: Log File Gets to Big

try dowloading the latest Log4j (http://logging.apache.org/log4j/1.2/download.html) and replace the jar in Serviio's lib folder with the new one. Then restart the service and see if it helps.
<<

historybot

Serviio newbie

Posts: 4

Joined: Tue May 22, 2012 8:37 am

Post Tue May 22, 2012 10:07 am

Re: Log File Gets to Big

Unfortunately, that didn't work.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue May 22, 2012 10:17 am

Re: Log File Gets to Big

Ok, I'll try to split the server and console logging in 1.0 to see if it fixes it.
<<

historybot

Serviio newbie

Posts: 4

Joined: Tue May 22, 2012 8:37 am

Post Tue May 22, 2012 10:29 am

Re: Log File Gets to Big

Great!

By the way, this is a pretty awesome piece of software. I've been trying a lot of different media servers the last few days. and this is, by far, the one I like the most.

I'll just remember to keep an eye on the log file size until someone has an idea to fix it.
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue May 22, 2012 10:57 am

Re: Log File Gets to Big

If you don't currently have any other problems (other than the log growing too much which is very odd), then you could set everything to ERROR in the log config file which should limit the growth rate.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

historybot

Serviio newbie

Posts: 4

Joined: Tue May 22, 2012 8:37 am

Post Tue May 22, 2012 7:50 pm

Re: Log File Gets to Big

I set the config file to its original setting. Now, oddly enough, it's not keeping a log at all. The log file remained empty after leaving the server running overnight.

Return to User experiences

Who is online

Users browsing this forum: No registered users and 14 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.