-
Notifications
You must be signed in to change notification settings - Fork 9.4k
system.log rapidly increasing after Magento CE 2.2.5 update (cron logs) #17190
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
Comments
Hi @mad-develop. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @mad-develop do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@mad-develop, this is not a bug. |
@engcom-backlog-pb I don't know how long your shops are running, but these logs in production mode seems excessive. And there are separate log files that are empty and never gets filled (magento.cron.log, update.cron ...) Seems i have to write my own system logger to avoid this "feature". But its a ugly solution, just because there is no configuration possible for system logging. Now I'm sad. :( |
I agree with @mad-develop that this behavior is very annoying to say the least. Anyway, since this is not strictly a bug, we can consider it as a feature request, so @mad-develop, if you want you can open a feature request over here to improve this functionality: https://github.com/magento/community-features/issues or send in a PR to this repo with suggested improvements. |
Hi @mad-develop. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
Hi @mad-develop. Thank you for your report. The fix will be available with the upcoming 2.2.8 release. |
Uh oh!
There was an error while loading. Please reload this page.
system.log is increasing rapidly after Magento CE 2.2.5 update with the added cron info logs.
Cronjob is runs every minute, so after one day i have about 5MB system.log size. This seems a little too much.
The logging is not bad, but in Production mode several logs every minute, that the cronjob has run successful seems a bit unnecessary.
A solution could be to make Loglevel of system.log configurable or change the log-level from info to debug.
Related:
https://github.com/magento/magento2/blob/2.2.5/app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php#L313
system.log:
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: