mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Overgrow log file on OS X

Open kax4 opened this issue 13 years ago • 3 comments

Please add a option to turn off log or a way to trim it down, i just check ~/Library/Logs two log file form mplayer2 and mpv sum up total 19GB.

kax4 avatar May 21 '13 11:05 kax4

By any chance do you have verbose enabled? My log file is 7mb

pigoz@NAVi ~/Library/Logs » du -sh mpv.log
7.8M    mpv.log

If you need verbose you can rotate the logs with newsyslog (put it under cron).

pigoz avatar May 21 '13 21:05 pigoz

If --quiet is enabled (what the bundle is doing), each mpv run should write only about ~600 bytes log output per file played.

ghost avatar May 21 '13 21:05 ghost

I don't have verbose enable, mplayer2 log is a big one with 18.3GB since mpv silent a lot error and output it only about 700MB and i use mpv ~ 4 month. Each mpv run log file about 600 b - 900b but there a lot of error when seeking avi (some wmv file too) file like: [NULL @ 0x1093c8700]Invalid and inefficient vfw-avi packed B frames detected [mp3 @ 0x1093c8700]Header missing I think should use --really-quiet for bundle, if user need report they using -v any way.

kax4 avatar May 21 '13 22:05 kax4