FAQ  •  Register  •  Login

to see what jobs serviio is doing

<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Wed Apr 10, 2013 7:15 pm

to see what jobs serviio is doing

can there be a way to know what jobs serviio is doing like transcoding to witch devices and to what devices it is streaming to and what it is streaming
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Apr 11, 2013 7:45 am

Re: to see what jobs serviio is doing

With serviio log file.


You can edit the ./config/log4j.xml file like this:

<category name="org.serviio.delivery.resource.VideoDeliveryEngine">
<priority value="DEBUG"/>
</category>

To only see the VideoDelivery messages
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
<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Thu Apr 11, 2013 8:25 am

Re: to see what jobs serviio is doing

Illico wrote:With serviio log file.


You can edit the ./config/log4j.xml file like this:

<category name="org.serviio.delivery.resource.VideoDeliveryEngine">
<priority value="DEBUG"/>
</category>

To only see the VideoDelivery messages

Hi I did it this way and also the other way but mouthing happens am i doing somthing wrong where should i see the info when streeming?

way 1
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
<param name="Threshold" value="DEBUG"/>
<param name="Append" value="true" />
<param name="File" value="${serviio.home}/log/serviio.log" />
<param name="MaxFileSize" value="500KB" />
<param name="MaxBackupIndex" value="5" />
<param name="Encoding" value="UTF-8" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<category name="org.serviio.delivery.resource.VideoDeliveryEngine">
<priority value="DEBUG"/>
</category>

<category name="com.sun.syndication">
<priority value="ERROR"/>
</category>

<category name="org.jaudiotagger">
<priority value="ERROR"/>
</category>

<category name="org.restlet">
<priority value="ERROR"/>
</category>

<category name="org.apache.jcs">
<priority value="WARN"/>
</category>

<root>
<priority value="INFO"/>
<appender-ref ref="FILE"/>
</root>

</log4j:configuration>

way 2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
<param name="Threshold" value="DEBUG"/>
<param name="Append" value="true" />
<param name="File" value="${serviio.home}/log/serviio.log" />
<param name="MaxFileSize" value="500KB" />
<param name="MaxBackupIndex" value="5" />
<param name="Encoding" value="UTF-8" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n"/>
</layout>
</appender>

<category name="org.serviio">
<priority value="INFO"/>
</category>

<category name="com.sun.syndication">
<priority value="ERROR"/>
</category>

<category name="org.jaudiotagger">
<priority value="ERROR"/>
</category>

<category name="org.restlet">
<priority value="ERROR"/>
</category>

<category name="org.apache.jcs">
<priority value="WARN"/>
</category>

<root>
<priority value="INFO"/>
<appender-ref ref="FILE"/>
</root>

<category name="org.serviio.delivery.resource.VideoDeliveryEngine">
<priority value="DEBUG"/>
</category>

</log4j:configuration>
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Thu Apr 11, 2013 1:34 pm

Re: to see what jobs serviio is doing

Where eill i see the delivery jobs after editing the file thanks?
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Apr 11, 2013 1:49 pm

Re: to see what jobs serviio is doing

With latest Servio 1.2, edit like this :

  Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<!-- ===================================================================== -->
<!--                                                                       -->
<!--  Log4j Configuration                                                  -->
<!--                                                                       -->
<!-- ===================================================================== -->

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

    <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
       <param name="Threshold" value="DEBUG"/>
       <param name="Append" value="true" />
      <param name="File" value="${serviio.home}/log/serviio.log" />
      <param name="MaxFileSize" value="500KB" />
      <param name="MaxBackupIndex" value="5" />   
      <param name="Encoding" value="UTF-8" />   
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c{1}] %m%n"/>
      </layout>
   </appender>
   
   <category name="org.serviio.delivery.resource.VideoDeliveryEngine">
      <priority value="DEBUG"/>
   </category>
     
   <category name="com.sun.syndication">
      <priority value="ERROR"/>
   </category>
   
   <category name="org.jaudiotagger">
      <priority value="ERROR"/>
   </category>
   
   <category name="org.restlet">
      <priority value="ERROR"/>
   </category>
   
   <category name="org.apache.jcs">
      <priority value="WARN"/>
   </category>
   
   <root>
      <priority value="INFO"/>
      <appender-ref ref="FILE"/>
   </root>   
   
</log4j:configuration>


Restart serviio services or reboot, then on log file you will see only VideoDeliveryEngine messages
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
<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Thu Apr 11, 2013 3:02 pm

Re: to see what jobs serviio is doing

Thanks it work but it would be much better if this info will show in the console
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Apr 11, 2013 3:38 pm

Re: to see what jobs serviio is doing

chrismallia wrote:Thanks it work but it would be much better if this info will show in the console


OK,

For info on console, I'm not sure Zip would like to implement it...
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
<<

chrismallia

Serviio lover

Posts: 92

Joined: Tue Jan 15, 2013 1:10 am

Location: Malta

Post Thu Apr 11, 2013 8:05 pm

Re: to see what jobs serviio is doing

Illico wrote:
chrismallia wrote:Thanks it work but it would be much better if this info will show in the console


OK,

For info on console, I'm not sure Zip would like to implement it...

Thanks for the great help you have always been and thank you for your kind patience . I can't see why zip wouldn't want to implement it in the console it is a good thing and I fined it as a need, but anyway on the other hand I am sure zip knows whats best thanks regards Chris
server running serviio PRO and media browser Intel dual core g2030 3.0Ghz 8gb dd3 ram Microsoft windows server 2012 gigabit network . Devices Sony KDL55W805A, ps3, 2 sony bravia 2011, 5 android devices 2 of them samsung galaxy s3 running bubble upnp and serviigo, netgem netbox , 2 laptops XBMC windows 8

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 52 guests

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