Idea for log addition

Discuss issues related to PS3 Media Server development (only for programmers)

Idea for log addition

Postby poiromaniax » Fri Dec 02, 2011 3:40 pm

Hi guys,

Just had an idea for an addition to the log that could potentially help with network troubleshooting.

I think a line with the I.P of the computer youre currently streaming from will help a fair amount.

If its not a hard thing to do, that is ;)
poiromaniax
 
Posts: 72
Joined: Tue May 17, 2011 11:51 am

Re: Idea for log addition

Postby renszarv » Fri Dec 02, 2011 6:21 pm

poiromaniax wrote:Hi guys,

Just had an idea for an addition to the log that could potentially help with network troubleshooting.

I think a line with the I.P of the computer youre currently streaming from will help a fair amount.

If its not a hard thing to do, that is ;)


It wouldn't be too difficult to implement.
renszarv
Project Member
 
Posts: 105
Joined: Sun Aug 21, 2011 7:37 pm

Re: Idea for log addition

Postby Raptor399 » Sat Dec 03, 2011 11:37 am

The address you're streaming from (PMS) is already logged:
Code: Select all
Using address /192.168.0.16 found on network interface: name:en0 (en0)
Created socket: /192.168.0.16:5001

The address you are streaming to is also already logged:
Code: Select all
No IP filter specified, access granted to /192.168.0.10
Renderer AirPlayer found on this address: 192.168.0.10


What information are you missing exactly?
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Idea for log addition

Postby renszarv » Sat Dec 03, 2011 3:28 pm

Raptor399 wrote:The address you're streaming from (PMS) is already logged:
Code: Select all
Using address /192.168.0.16 found on network interface: name:en0 (en0)
Created socket: /192.168.0.16:5001

The address you are streaming to is also already logged:
Code: Select all
No IP filter specified, access granted to /192.168.0.10
Renderer AirPlayer found on this address: 192.168.0.10


What information are you missing exactly?



I think he suggest, that the IP address should be on every line, during streaming, so if you have multiple device, than you don't confuse, which line belongs to which device. But probably I've overcomplicated the suggestion :)
renszarv
Project Member
 
Posts: 105
Joined: Sun Aug 21, 2011 7:37 pm

Re: Idea for log addition

Postby Raptor399 » Sat Dec 03, 2011 11:46 pm

You can always set the log level to TRACE to see every detail, including IP addresses for each and every request.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Idea for log addition

Postby poiromaniax » Mon Dec 05, 2011 4:38 pm

Raptor399 wrote:The address you're streaming from (PMS) is already logged:
Code: Select all
Using address /192.168.0.16 found on network interface: name:en0 (en0)
Created socket: /192.168.0.16:5001

The address you are streaming to is also already logged:
Code: Select all
No IP filter specified, access granted to /192.168.0.10
Renderer AirPlayer found on this address: 192.168.0.10


What information are you missing exactly?


This is exactly what i meant! Sorry, i didnt see that before, will have to check the log properly next time
poiromaniax
 
Posts: 72
Joined: Tue May 17, 2011 11:51 am

Re: Idea for log addition

Postby poiromaniax » Mon Dec 05, 2011 4:41 pm

So where in this log would i find the computers i.p? all i see is detected Renderer

Code: Select all
[main] INFO  16:21:21.496 Starting PS3 Media Server 1.50.0
[main] INFO  16:21:21.497 by shagrath / 2008-2011
[main] INFO  16:21:21.497 http://ps3mediaserver.org
[main] INFO  16:21:21.498 http://code.google.com/p/ps3mediaserver
[main] INFO  16:21:21.498 http://ps3mediaserver.blogspot.com
[main] INFO  16:21:21.498
[main] INFO  16:21:21.498 Java: 1.6.0_29-Apple Inc.
[main] INFO  16:21:21.499 OS: Mac OS X x86_64 10.7.2
[main] INFO  16:21:21.499 Encoding: UTF-8
[main] INFO  16:21:21.499 Working directory: /Applications/PS3 Media Server.app/Contents/Resources/Java
[main] INFO  16:21:21.503 Temp folder: /var/folders/2h/fhrw79mj14qgm110l8gvx7_m0000gn/T/ps3mediaserver
[main] INFO  16:21:21.504 Logging config file: /Applications/PS3 Media Server.app/Contents/Resources/Java/logback.xml
[main] INFO  16:21:21.505 debug.log: /Applications/PS3 Media Server.app/Contents/Resources/Java/debug.log
[main] INFO  16:21:21.505
[main] INFO  16:21:21.505 Profile directory: /Users/peterfas/Library/Application Support/PMS
[main] INFO  16:21:21.505 Profile path: /Users/peterfas/Library/Application Support/PMS/PMS.conf
[main] INFO  16:21:21.506 Profile status: rw
[main] INFO  16:21:21.507 Profile name: -iMac.local
[main] INFO  16:21:21.507
[main] INFO  16:21:21.512 Loading MediaInfo library
[main] INFO  16:21:21.554 Loaded MediaInfoLib - v0.7.51
[main] INFO  16:21:21.559 Loading renderer configurations from /Applications/PS3 Media Server.app/Contents/Resources/Java/renderers
[main] INFO  16:21:21.561 Loading configuration file: AirPlayer.conf
[main] INFO  16:21:21.565 Loading configuration file: Android.conf
[main] INFO  16:21:21.566 Loading configuration file: Bravia4500.conf
[main] INFO  16:21:21.568 Loading configuration file: Bravia5500.conf
[main] INFO  16:21:21.570 Loading configuration file: BraviaEX.conf
[main] INFO  16:21:21.573 Loading configuration file: FreeboxHD.conf
[main] INFO  16:21:21.575 Loading configuration file: FreecomMusicPal.conf
[main] INFO  16:21:21.577 Loading configuration file: iPad-iPhone.conf
[main] INFO  16:21:21.580 Loading configuration file: Kuro.conf
[main] INFO  16:21:21.582 Loading configuration file: N900.conf
[main] INFO  16:21:21.583 Loading configuration file: Panasonic.conf
[main] INFO  16:21:21.595 Loading configuration file: Philips.conf
[main] INFO  16:21:21.597 Loading configuration file: PopcornHour.conf
[main] INFO  16:21:21.598 Loading configuration file: PS3.conf
[main] INFO  16:21:21.602 Loading configuration file: Realtek.conf
[main] INFO  16:21:21.604 Loading configuration file: SamsungAllShare.conf
[main] INFO  16:21:21.606 Loading configuration file: SamsungWiseLink.conf
[main] INFO  16:21:21.608 Loading configuration file: Showtime3.conf
[main] INFO  16:21:21.610 Loading configuration file: SonyBluray.conf
[main] INFO  16:21:21.613 Loading configuration file: Streamium.conf
[main] INFO  16:21:21.615 Loading configuration file: WDTVLive.conf
[main] INFO  16:21:21.616 Loading configuration file: WMP.conf
[main] INFO  16:21:21.618 Loading configuration file: XBMC.conf
[main] INFO  16:21:21.620 Loading configuration file: XBOX360.conf
[main] INFO  16:21:21.622 Checking MPlayer font cache. It can take a minute or so.
[main] INFO  16:21:21.712 Done!
[main] INFO  16:21:21.719 Searching for plugins in /Applications/PS3 Media Server.app/Contents/Resources/Java/plugins
[main] INFO  16:21:21.720 No plugins found
[main] INFO  16:21:21.721 Registering transcoding engine: FFmpeg Audio
[main] INFO  16:21:21.724 Registering transcoding engine: MEncoder
[main] INFO  16:21:21.724 Registering transcoding engine: MPlayer Audio
[main] INFO  16:21:21.725 Registering transcoding engine: MEncoder Web
[main] INFO  16:21:21.725 Registering transcoding engine: MPlayer Video Dump
[main] INFO  16:21:21.725 Registering transcoding engine: MPlayer Web
[main] INFO  16:21:21.726 Registering transcoding engine: tsMuxeR
[main] INFO  16:21:21.727 Registering transcoding engine: Audio High Fidelity
[main] INFO  16:21:21.727 Registering transcoding engine: VLC Audio Streaming
[main] INFO  16:21:21.727 Registering transcoding engine: VLC Video Streaming
[main] INFO  16:21:21.728 Registering transcoding engine: Raws Thumbnailer
[main] INFO  16:21:21.792 Scanning network interface en1 (en1)
[main] INFO  16:21:21.793 Using forced address 169.254.206.107
[main] INFO  16:21:21.793 Created socket: /169.254.206.107:6001
[main] INFO  16:21:21.868 Using the following UUID configured in PMS.conf: xxxxxxxxxxxxxxxxxxxxxx
[main] INFO  16:21:26.590 The server should now appear on your renderer
poiromaniax
 
Posts: 72
Joined: Tue May 17, 2011 11:51 am

Re: Idea for log addition

Postby Raptor399 » Mon Dec 05, 2011 10:02 pm

I don't see your device connecting to PMS; the log ends with PMS coming online.
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Idea for log addition

Postby poiromaniax » Mon Dec 05, 2011 10:50 pm

Cool - took this from a support thread, so its not my log :)
poiromaniax
 
Posts: 72
Joined: Tue May 17, 2011 11:51 am


Return to Developers

Who is online

Users browsing this forum: No registered users and 0 guests