FAQ  •  Register  •  Login

Different log levels for library updating and media serving

<<

mback2k

Streaming enthusiast

Posts: 34

Joined: Sun May 02, 2010 5:54 pm

Location: Mannheim, Germany

Post Mon Feb 14, 2011 9:24 am

Different log levels for library updating and media serving

It would be great if we could specify different log levels for library updating and media serving.

It's a little hard to watch for serving problems if the whole log is spammed by the library updating thread.

Thanks in advance!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16324

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 14, 2011 11:10 am

Re: Different log levels for library updating and media serv

Edit log4j.xml to include this:

  Code:
<!-- by default DEBUG everything -->
<category name="org.serviio">
      <priority value="DEBUG"/>
</category>

<!-- use INFO for library stuff  -->
<category name="org.serviio.library">
      <priority value="INFO"/>
</category>
<<

mback2k

Streaming enthusiast

Posts: 34

Joined: Sun May 02, 2010 5:54 pm

Location: Mannheim, Germany

Post Tue Feb 15, 2011 5:28 pm

Re: Different log levels for library updating and media serv

Thanks a lot.
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Oct 05, 2011 5:43 pm

Re: Different log levels for library updating and media serv

With the addition of Online sources, the Debug Output includes both PC and On-line library messages which makes it difficult to analyse one or the other.

Could we have one option to turn on/off the PC library messages and another to turn off/on the online library messages?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16324

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 09, 2011 3:39 pm

Re: Different log levels for library updating and media serv

For local library logs use this category:

  Code:
<category name="org.serviio.library.local">
      <priority value="DEBUG"/>
</category>

and for online this:

  Code:
<category name="org.serviio.library.online">
      <priority value="DEBUG"/>
</category>
<<

ny_dave

Serviio newbie

Posts: 2

Joined: Sun Mar 20, 2011 3:56 pm

Post Mon Dec 19, 2011 3:51 pm

Re: Different log levels for library updating and media serv

Could we get a settings tab on the console, that one could check for what logging that we are looking for.
<<

Sander

Serviio newbie

Posts: 4

Joined: Mon May 07, 2012 12:38 pm

Post Mon May 07, 2012 8:43 pm

Re: Different log levels for library updating and media serv

zip wrote:Edit log4j.xml to include this:

  Code:
<!-- by default DEBUG everything -->
<category name="org.serviio">
      <priority value="DEBUG"/>
</category>

<!-- use INFO for library stuff  -->
<category name="org.serviio.library">
      <priority value="INFO"/>
</category>
I put this in and now there are no more .log files.
Actually, there is a derby.log file
<<

will

DLNA master

Posts: 2117

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue May 08, 2012 7:04 am

Re: Different log levels for library updating and media serv

Sander wrote:
zip wrote:Edit log4j.xml to include this:

  Code:
<!-- by default DEBUG everything -->
<category name="org.serviio">
      <priority value="DEBUG"/>
</category>

<!-- use INFO for library stuff  -->
<category name="org.serviio.library">
      <priority value="INFO"/>
</category>
I put this in and now there are no more .log files.
Actually, there is a derby.log file


Try
  Code:
<!-- by default DEBUG everything -->
<category name="org.serviio">
      <priority value="DEBUG"/>
</category>

<!-- use INFO for library stuff  -->
<category name="org.serviio.library.local">
      <priority value="INFO"/>
</category>
<category name="org.serviio.library.online">
      <priority value="INFO"/>
</category>
Will
Beta Tester Group
ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: More info

Player: Sony BDP S370 | Server: Debian 6.0 x86
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play
<<

DenyAll

DLNA master

Posts: 2043

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Aug 29, 2013 1:12 am

Re: Different log levels for library updating and media serv

Updated information in the wiki to include filtering on the library.dao components: see http://wiki.serviio.org/doku.php?id=debug_filter
DenyAll
Panasonic Viera CS610A | Panasonic Viera V20A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 7 | Serviio 1.8 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

n3mmr

DLNA master

Posts: 325

Joined: Tue Jun 15, 2010 8:01 am

Post Wed Nov 27, 2013 4:59 pm

Re: Different log levels for library updating and media serv

will wrote:
Sander wrote:
zip wrote:Edit log4j.xml to include this:

  Code:
<!-- by default DEBUG everything -->
<category name="org.serviio">
      <priority value="DEBUG"/>
</category>

<!-- use INFO for library stuff  -->
<category name="org.serviio.library">
      <priority value="INFO"/>
</category>
I put this in and now there are no more .log files.
Actually, there is a derby.log file


Try
  Code:
<!-- by default DEBUG everything -->
<category name="org.serviio">
      <priority value="DEBUG"/>
</category>

<!-- use INFO for library stuff  -->
<category name="org.serviio.library.local">
      <priority value="INFO"/>
</category>
<category name="org.serviio.library.online">
      <priority value="INFO"/>
</category>



Would this work the other way around??

I e INFO for org.serviio and DEBUG for org.serviio.library.online?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16324

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 27, 2013 5:00 pm

Re: Different log levels for library updating and media serv

I think so, give it a try.
<<

mmarauder

Streaming enthusiast

Posts: 40

Joined: Sat Jan 28, 2012 4:02 pm

Location: VA

Post Tue Jan 05, 2016 6:08 pm

Re: Different log levels for library updating and media serv

Is there a setting to then take this and save the logs to different log files? So I could have a separate log file for just library additions?

Return to Feature requests

Who is online

Users browsing this forum: Google [Bot] and 1 guest

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