Page 1 of 1

Loggin options

PostPosted: Sat Nov 05, 2016 7:43 pm
by Jimbob
Hi,

After a little help with logging (or maybe even a feature request)

What I would like to acheive is a log of what media has been played on what device.

I can get that in the main log, IF I enable debugging options, which creates far more output than I would like. I could write some sort of script to parse this out if needed, but do you know what the log options would be to get what I want, and as little else as possible?

Ideally I would like the normal log files to remain untouched, and a new log file to be created, purely for whats been played, but realise this functionality is highly unlikely to currently exist.

Thanks for any assistance

Re: Loggin options

PostPosted: Sun Nov 06, 2016 9:33 am
by zip
Notifications on what is playing is coming in 1.8

Re: Loggin options

PostPosted: Sun Nov 06, 2016 11:31 am
by bolzass
In the meanwhile, you can do that (as workarround):
- Modify log4j.xml to DEBUG all VideoDelivery to a different file
- Filter out this file

I wroted (see attached) it for you:
- log4j.xml modified
- mediaplayed script to filter out

Modify them to adapt to your installation.

Byez-

mediaPlayed.zip
log4j.xml & mediaplayed script to see what media has been played
(1.83 KiB) Downloaded 252 times

Re: Loggin options

PostPosted: Sun Nov 06, 2016 7:08 pm
by Jimbob
Excellent news on the next version, and cheers for the options and script, Ill have a play in the mean time :)

Thanks very much.