Log Files - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Log Files (/showthread.php?tid=2427) |
Log Files - moodkim - 04-26-2020 Has something changed semi-recently with how moOde handles logging? As early as last year I distinctly remember /var/log filling up the log files as usual, but sometime in that last few months, maybe, a large portion of the system logs have been routinely getting nulled. I have two up-to-date moOde systems running and they display virtually the exact same behavior. Is this a feature or a bug ? -if it's deliberate, I get it it but specifically auth.log bothers me and it only ever contains a few hours worth of data with no archives. Or is something dubious going on? Nulled files always show the same modification time. Here's a ls -la output: Code: -rw-r----- 1 root adm 35437 Apr 26 08:28 daemon.log Output from my other pi: Code: -rw-r----- 1 root adm 0 Apr 26 06:14 kern.log I know heavy R/W's on SD card can reek havoc, but I have been using high endurance cards for over a year without any issues. Thoughts? Concerns? Edit: Actually it looks like this is a cron job or something like that based on the first commands and the beginning of auth.log : Code: Apr 26 06:14:28 moOde sudo: pam_unix(sudo:session): session closed for user root Same modification times.....anyway just curious because it caught me off guard. RE: Log Files - Tim Curtis - 04-26-2020 It's done by the maintenance routine in moOde which runs every 3 hours. The reason is that on a stock moOde image there is not much free disk space, only around 690MB and many users leave their systems running 7/24. Unless the logs are regularly purged they can begin to eat into the free disk space over time which could result in not enough free space to install in-place updates. For the most part the only useful logs for troubleshooting typical moOde issues are the MPD log, Moode startup log and sometimes syslog or dmesg. I have same experience with SDCards being super reliable even under the extreme write loads that mine get during development. Sandisk Ultra class 10 cards :-) RE: Log Files - moodkim - 04-26-2020 (04-26-2020, 07:25 PM)Tim Curtis Wrote: It's done by the maintenance routine in moOde which runs every 3 hours. The reason is that on a stock moOde image there is not much free disk space, only around 690MB and many users leave their systems running 7/24. Unless the logs are regularly purged they can begin to eat into the free disk space over time which could result in not enough free space to install in-place updates. Ok, maybe i should start reading change logs.... Thanks for the amazing work. Absolutely love moOde |