-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log rotation failure originating from fancylogger #252
Comments
@holstgr-kaust how does it fix it? it just disables the logrotation, no? |
@holstgr-kaust @boegel anyhow, this is an issue with python logging, and not (only) with fancylogger. |
Yes, it just disables the log rotation feature (which doesn't work anyway, so it seemed like a safe place to change). Thank you for the EB suggestions too. |
@holstgr-kaust for completeness, can you post the logfile destination and permissions on th eparent dir? i'm a bit intregued by the permission error. it's a bit odd to get one from a rename |
Log rotation is being disabled in EasyBuild via easybuilders/easybuild-framework#2347. |
@stdweird
The rollover errors still appeared (during build phase), but EB now appears to be able to continue the build to successful installation:
Full listings of the buildlog and buildtmp directories show the following permissions (bldr user owns the files, has write permissions, and there appears to be sufficient space):
Hope that helps. Thank you. *PS. I've re-written the command slightly to simplify paths |
The log rotation functionality in fancylogger appears to be broken. When log files are rotated, the existing writer ends up with a stale file handle.
For example, this appears as a log rotation failure issue in EasyBuild:
easybuilders/easybuild-framework#1094
Changing line:
to:
Is a hacky, but effective fix.
The text was updated successfully, but these errors were encountered: