User Tools

Site Tools


detail_logging

Differences

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

Link to this comparison view

Next revision
Previous revision
detail_logging [2011/12/29 00:06]
cerberus created
detail_logging [2021/12/14 10:28] (current)
zip Updates for v2.2.1
Line 1: Line 1:
-You can enable DEBUG level for the logger to see detailed logs. Edit file log4j.xml in config folder and change this:+You can enable DEBUG level for the logger to see detailed logs. Browse to the 'configfolder of the Serviio installation, which is at : 
 +  * Windows - ''c:\Program Files\Serviio\config'' 
 +  * OSX - ''/Library/Application Support/Serviio/config'' 
 +  * Linux - ''<installation_folder>/config''
  
 +Edit file ''log4j2.xml'' in config folder and change this:
  
-<code>   <category name="org.serviio"+ 
-      <priority value="INFO"/> +<code> 
-   </category></code>+<Logger name="org.serviio" level="info" /> 
 +</code>
  
  
Line 10: Line 15:
  
  
-<code>   <category name="org.serviio"+<code> 
-      <priority value="DEBUG"/> +<Logger name="org.serviio" level="debug" /> 
-   </category></code>+</code> 
 + 
 +Stop and Start the server in the console Status tab.
  
-Restart Serviio server (if on Windows [[http://technet.microsoft.com/en-us/library/cc736564(WS.10).aspx|restart Serviio Windows service]])+Read the result in ''serviio.log'' in 'log' folder inside Serviio installation directoryMake sure to revert the change back later otherwise your log file will be huge.
  
-Read the result in serviio.log in log folder inside Serviio installation directory (Mac users have to 'browse contents' of Serviio.app). Make sure to revert the change back later otherwise your log file will be huge.+If the file is too huge and your problem is not related to library updates, you can [[debug_filter|filter those out]].
  
-If the file is too huge and your problem is not related to library updates, you can [debug_filter|filter those out]].+<note> 
 +Remember to delete all your old logs before restarting Serviio</note>
detail_logging.1325117173.txt.gz · Last modified: 2011/12/29 00:06 by cerberus