Huge log file

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
madpatrick
Posts: 5
Joined: Tue Jan 01, 2013 1:51 am

Huge log file

Post by madpatrick »

Hello

i'm running UMS 2.25(older version was the same) on my LInux Centos distro and noticed that the log file grow excesively
The debug.log is more then 900 MB after 1 day.
SInce it is to big i can not read the log-file what is causing this.

What can be the problem and how can reduces the size. Now i'm restarting UMS every day with a cronjob.

thanks
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Huge log file

Post by ExSport »

Start UMS, wait until log has 10MB in short time, stop UMS. Check what is wrong in debug.log.
Something is heavily spamming to log so it will be easy to find it.
Also check what debug level is used in "logback.xml":

Code: Select all

Available levels: ALL < TRACE < DEBUG < INFO < WARN < ERROR < OFF
<root level="DEBUG">
madpatrick
Posts: 5
Joined: Tue Jan 01, 2013 1:51 am

Re: Huge log file

Post by madpatrick »

I've set <ROOT LEVEL> to INFO and will see what this will do.

the 10MB log file option does not work. UMS won't start then.

I see this in the log file continuesly (or simulair)

Code: Select all

DEBUG 2013-01-17 20:36:07.657 [Thread-99] ==========================================================================
DEBUG 2013-01-17 20:36:07.657 [Thread-99] ID_VIDEO_CODEC=null
DEBUG 2013-01-17 20:36:07.657 [Thread-99] Audio: no sound
DEBUG 2013-01-17 20:36:07.657 [Thread-99] Freeing 0 unused audio chunks.
DEBUG 2013-01-17 20:36:07.657 [Thread-99] Starting playback...
DEBUG 2013-01-17 20:36:07.657 [Thread-99] V:   0.0   1/  1 ??% ??% ??,?% 0 0 [J
DEBUG 2013-01-17 20:36:07.657 [Thread-99] EOF code: 1  
DEBUG 2013-01-17 20:36:07.657 [Thread-99] 
DEBUG 2013-01-17 20:36:07.657 [Thread-99] Uninit video: null
DEBUG 2013-01-17 20:36:07.658 [Thread-99] vo: x11 uninit called but X11 not initialized..
DEBUG 2013-01-17 20:36:07.659 [Thread-99] 
DEBUG 2013-01-17 20:36:07.659 [Thread-99] Exiting... (End of file)
DEBUG 2013-01-17 20:36:07.659 [Thread-99] ID_EXIT=EOF
DEBUG 2013-01-17 20:36:07.664 [Thread-100] Reading /etc/mplayer/codecs.conf: 137 audio & 296 video codecs
DEBUG 2013-01-17 20:36:07.664 [Thread-100] Configuration: --extra-cflags=-I /usr/include/nvidia-graphics --extra-ldflags=-L /usr/lib/nvidia-graphics --prefix=/usr --libdir=/usr/lib --datadir=/usr/share/mplayer --confdir=/etc/mplayer --mandir=/usr/share/man --enable-gui --enable-largefiles --enable-lirc --enable-joystick --enable-radio --enable-radio-capture --enable-tv-v4l1 --enable-menu --disable-faad-internal --enable-fribidi --enable-win32dll --enable-qtx --disable-smb --disable-xmms --disable-liba52-internal --enable-xvmc --enable-fbdev --enable-runtime-cpudetection --language=all
DEBUG 2013-01-17 20:36:07.665 [Thread-100] CommandLine: '-identify' '-endpos' '0' '-v' '-ao' 'null' '-vc' 'null' '-vo' 'null' '-dvd-device' '/var/flexshare/shares/media/video/Films/2012/2012.ISO' 'dvd://38'
DEBUG 2013-01-17 20:36:07.665 [Thread-100] init_freetype
DEBUG 2013-01-17 20:36:07.665 [Thread-100] get_path('font/font.desc') -> '/.mplayer/font/font.desc'
DEBUG 2013-01-17 20:36:07.668 [Thread-100] font: can't open file: /.mplayer/font/font.desc
DEBUG 2013-01-17 20:36:07.675 [Thread-100] Bitmap font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
DEBUG 2013-01-17 20:36:07.676 [Thread-100] Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
DEBUG 2013-01-17 20:36:07.676 [Thread-100] get_path('fonts') -> '/.mplayer/fonts'
DEBUG 2013-01-17 20:36:07.676 [Thread-100] Using nanosleep() timing
DEBUG 2013-01-17 20:36:07.677 [Thread-100] get_path('input.conf') -> '/.mplayer/input.conf'
DEBUG 2013-01-17 20:36:07.677 [Thread-100] Can't open input config file /.mplayer/input.conf: No such file or directory
DEBUG 2013-01-17 20:36:07.677 [Thread-100] Parsing input config file /etc/mplayer/input.conf
DEBUG 2013-01-17 20:36:07.679 [Thread-100] Input config file /etc/mplayer/input.conf parsed: 90 binds
DEBUG 2013-01-17 20:36:07.679 [Thread-100] Opening joystick device /dev/input/js0
DEBUG 2013-01-17 20:36:07.679 [Thread-98] Can't open joystick device /dev/input/js0: No such file or directory
DEBUG 2013-01-17 20:36:07.679 [Thread-98] Can't init input joystick
DEBUG 2013-01-17 20:36:07.679 [Thread-100] Setting up LIRC support...
DEBUG 2013-01-17 20:36:07.679 [Thread-98] mplayer: could not connect to socket
DEBUG 2013-01-17 20:36:07.679 [Thread-98] mplayer: No such file or directory
DEBUG 2013-01-17 20:36:07.679 [Thread-98] Failed to open LIRC support. You will not be able to use your remote control.
DEBUG 2013-01-17 20:36:07.680 [Thread-100] get_path('38.conf') -> '/.mplayer/38.conf'
DEBUG 2013-01-17 20:36:07.680 [Thread-100] 
DEBUG 2013-01-17 20:36:07.680 [Thread-100] Playing dvd://38.
DEBUG 2013-01-17 20:36:07.680 [Thread-100] get_path('sub/') -> '/.mplayer/sub/'
DEBUG 2013-01-17 20:36:07.680 [Thread-100] URL: dvd://38
DEBUG 2013-01-17 20:36:07.680 [Thread-98] libdvdread: Using libdvdcss version 1.2.10 for DVD access
DEBUG 2013-01-17 20:36:07.680 [Thread-100] Reading disc structure, please wait...
DEBUG 2013-01-17 20:36:07.683 [Thread-100] ID_DVD_TITLES=40
DEBUG 2013-01-17 20:36:07.683 [Thread-100] ID_DVD_TITLE_1_CHAPTERS=28
DEBUG 2013-01-17 20:36:07.683 [Thread-100] ID_DVD_TITLE_1_ANGLES=1
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_2_CHAPTERS=2
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_2_ANGLES=1
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_3_CHAPTERS=7
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_3_ANGLES=1
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_4_CHAPTERS=3
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_4_ANGLES=1
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_5_CHAPTERS=3
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_5_ANGLES=1
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_6_CHAPTERS=3
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_6_ANGLES=1
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_7_CHAPTERS=3
DEBUG 2013-01-17 20:36:07.684 [Thread-100] ID_DVD_TITLE_7_ANGLES=1
DEBUG 2013-01-17 20:36:07.685 [Thread-100] ID_DVD_TITLE_8_CHAPTERS=3
DEBUG 2013-01-17 20:36:07.685 [Thread-100] ID_DVD_TITLE_8_ANGLES=1
DEBUG 2013-01-17 20:36:07.685 [Thread-100] ID_DVD_TITLE_9_CHAPTERS=2
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Huge log file

Post by ExSport »

the 10MB log file option does not work. UMS won't start then.
You can't set size of debug.log file ;)
I only reacted on your 600MB log which can't be uploaded with this that don't wait until log is so huge and close UMS earlier so log is only e.g. 5MB in size which can be easily ZIPped and uploaded ;)
I am WIN guy so don't understand Linux/Unix well but it seems your mplayer/mencoder is broken or badly installed?
Maybe someone will guide you how to fix it but to be correct I don't know if Linux package includes MEncoder/Mplayer/MediaInfo/FFmpeg etc. as on WIN but I suppose not and you need to install right versions separately?
lemtargatwing
Posts: 11
Joined: Fri Jan 11, 2013 8:41 am

Re: Huge log file

Post by lemtargatwing »

I also use CentOS, and I can say my log file never exceeds a few MB at most. As per that section you posted, it does appear that mplayer is not installed on your system.
Post Reply