User Tools

Site Tools


debug_filter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
debug_filter [2011/12/29 00:09]
cerberus created
debug_filter [2013/08/26 11:42]
denyall Added DAO library component. Clarified all library vs components.
Line 1: Line 1:
-To filter out Library updates from debug log simple find the below code:+To filter out Library updates from debug log simple find the below code in log4j.xml:
  
-<code> <category name="org.serviio">+<code><category name="org.serviio">
       <priority value="DEBUG"/>       <priority value="DEBUG"/>
 </category></code> </category></code>
Line 7: Line 7:
 and add the below code under it: and add the below code under it:
  
-<code> <category name="org.serviio.library.local">+<code><category name="org.serviio.library"> 
 +      <priority value="INFO"/> 
 +</category></code> 
 + 
 +This will filter out __all__ library update messages.   
 + 
 +If you prefer, you can filter out individual library components by adding the following code (this is __instead__ of the above code, not in addition to it), setting the //priority value// to DEBUG or INFO as needed: 
 + 
 +<code><category name="org.serviio.library.local">
       <priority value="INFO"/>       <priority value="INFO"/>
 </category> </category>
  
 <category name="org.serviio.library.online"> <category name="org.serviio.library.online">
 +      <priority value="INFO"/>
 +</category>
 +
 +<category name="org.serviio.library.dao">
       <priority value="INFO"/>       <priority value="INFO"/>
 </category></code> </category></code>
debug_filter.txt · Last modified: 2013/08/26 11:42 by denyall