sebbu

Serviio log4j.xml

Aug 4th, 2020 (edited)
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.50 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  3.  
  4. <!-- ===================================================================== -->
  5. <!--                                                                       -->
  6. <!--  Log4j Configuration                                                  -->
  7. <!--                                                                       -->
  8. <!-- ===================================================================== -->
  9.  
  10. <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
  11.  
  12.      <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
  13.         <param name="Threshold" value="DEBUG"/>
  14.         <param name="Append" value="true" />
  15.         <param name="File" value="${serviio.home}/log/serviio.log" />
  16.         <param name="MaxFileSize" value="5000KB" />
  17.         <param name="MaxBackupIndex" value="5" />  
  18.         <param name="Encoding" value="UTF-8" />
  19.         <layout class="org.apache.log4j.PatternLayout">
  20.             <!--param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n"/-->
  21.             <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c] %m%n"/>
  22.         </layout>
  23.     </appender>
  24.    
  25.     <category name="org.serviio">
  26.         <priority value="INFO"/>
  27.     </category>
  28.    
  29.     <!---->
  30.     <category name="org.serviio.library.local.MetadataExtractionCoordinator">
  31.         <priority value="DEBUG"/>
  32.     </category>
  33.    
  34.     <category name="org.serviio.library.dao.MediaItemDAOImpl">
  35.         <priority value="DEBUG"/>
  36.     </category>
  37.    
  38.     <category name="org.serviio.external.ProcessExecutor">
  39.         <priority value="DEBUG"/>
  40.     </category>
  41.    
  42.     <category name="org.serviio.library.local.indexing">
  43.         <priority value="DEBUG"/>
  44.     </category>
  45.    
  46.     <category name="org.serviio.delivery.resource">
  47.         <priority value="DEBUG"/>
  48.     </category>
  49.    
  50.     <category name="org.serviio.upnp.service.contentdirectory.ContentDirectory">
  51.         <priority value="DEBUG"/>
  52.     </category>
  53.    
  54.     <category name="org.serviio.upnp.service.contentdirectory.definition.ContentDirectoryDefinitionParser">
  55.         <priority value="DEBUG"/>
  56.     </category>
  57.    
  58.     <category name="org.serviio.db">
  59.         <priority value="DEBUG"/>
  60.     </category>
  61.     <!---->
  62.    
  63.     <category name="com.sun.syndication">
  64.         <priority value="ERROR"/>
  65.     </category>
  66.    
  67.     <category name="org.jaudiotagger">
  68.         <priority value="ERROR"/>
  69.     </category>
  70.    
  71.     <category name="org.restlet">
  72.         <priority value="OFF"/>
  73.     </category>
  74.    
  75.     <category name="LogService"> <!-- Restlet access log -->
  76.         <priority value="OFF"/>
  77.     </category>
  78.    
  79.     <category name="org.apache.commons.jcs">
  80.         <priority value="WARN"/>
  81.     </category>
  82.    
  83.     <root>
  84.         <priority value="INFO"/>
  85.         <appender-ref ref="FILE"/>
  86.     </root>
  87.    
  88. </log4j:configuration>
  89.  
Add Comment
Please, Sign In to add comment