We currently keep a log of warning and error in /var/lib/schedbot/submit-logs/ . But theses logs are growing and are not rotated. [root@valstar schedbot]# du -sh submit-logs/ 234M submit-logs/ While 234 Mo is next to nothing, the issue is they are less and less useful if too bloated. Most of the file is quite useless : Deprecated method, use as_file() now at /usr/share/mga-youri-submit/lib/Youri/Submit/Check/Host.pm line 32 error: File /var/lib/schedbot/rpmbuild/SOURCES/mixxx-1.7.0-ffmpeg-headers.patch: No such file or directory Deprecated method, use as_string now at /usr/lib/perl5/site_perl/5.10.1/Youri/Repository/Mageia.pm line 457 Deprecated method, use as_file() now at /usr/share/mga-youri-submit/lib/Youri/Submit/Action/Send.pm line 45 Deprecated method, use as_file() now at /usr/share/mga-youri-submit/lib/Youri/Submit/Action/Rpminfo.pm line 44 Warning: Can't guess destination: section missing, defaulting to core/release Deprecated method, use as_string now at /usr/share/mga-youri-submit/lib/Youri/Submit/Check/ACL.pm line 32 Deprecated method, use as_file() now at /usr/share/mga-youri-submit/lib/Youri/Submit/Check/Host.pm line 32 error: File /var/lib/schedbot/rpmbuild/SOURCES/mixxx-1.7.0-ffmpeg-headers.patch: No such file or directory Deprecated method, use as_string now at /usr/lib/perl5/site_perl/5.10.1/Youri/Repository/Mageia.pm line 457 Deprecated method, use as_file() now at /usr/share/mga-youri-submit/lib/Youri/Submit/Action/Send.pm line 45 Deprecated method, use as_file() now at /usr/share/mga-youri-submit/lib/Youri/Submit/Action/Rpminfo.pm line 44 We do not have the date , and the warning of deprecation do not help much and should be corrected IMHO. So I propose that : - we clean warning so $login.err is not filed with useless garbage - we start to log in a different file each request, so we can later clean them using tidy - investigate using log4perl in youri so we can configure this Reproducible: Steps to Reproduce:
Blocks: (none) => 858
Any news on this issue?
CC: (none) => marja11
Pinging. because nothing happened to this report since more than 3 months ago, and it still has the status NEW or REOPENED. Please set status to ASSIGNED. If for work flow reasons you can't do that, then please put OK on the whiteboard instead.
Assignee: mageia-sysadm => sysadmin-bugs
it looks like a parsing script error that is not debugging if file is null, and when it is not finding the file it cannot continue with others, to show time need to put in the script DataStamp=$(eval date +%j) echo $DataStamp
CC: (none) => oeai