FAQ  •  Register  •  Login

Clean or Backup log file after services restarted

<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun May 06, 2012 12:41 pm

Clean or Backup log file after services restarted

Is it possible to clean, better, create an "_old.log" file when serviio services are restarted ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun May 06, 2012 5:54 pm

Re: Clean or Backup log file after services restarted

try changing this value in log4j.xml

  Code:
<param name="Append" value="true" />


to

  Code:
<param name="Append" value="false" />
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun May 06, 2012 6:18 pm

Re: Clean or Backup log file after services restarted

zip wrote:try changing this value in log4j.xml
  Code:
<param name="Append" value="false" />


Ok, perfect, I suggest to set "false" as default value after installation.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun May 06, 2012 6:27 pm

Re: Clean or Backup log file after services restarted

does it actually work? What happens with the old log?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon May 07, 2012 11:45 am

Re: Clean or Backup log file after services restarted

zip wrote:does it actually work? What happens with the old log?

Hum... not 100% in fact.
When service restarted, a new clean serviio.log is created but no backup is done :?
So this is not the solution.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue May 08, 2012 11:52 pm

Re: Clean or Backup log file after services restarted

Illico wrote:When service restarted, a new clean serviio.log is created but no backup is done :?

I actually prefer this on my everyday use NAS build! Thanks :)
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 20 guests

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