-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passednon-issue
Description
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.
system.log:
[2018-07-27 10:43:02] main.INFO: Cron Job catalog_product_outdated_price_values_cleanup is run [] []
[2018-07-27 10:43:02] main.INFO: Cron Job catalog_product_outdated_price_values_cleanup is successfully finished. Statistics: {"sum":0.10062503814697,"count":1,"realmem":0,"emalloc":3162464,"realmem_start":52428800,"emalloc_start":140877
52} [] []
[... (more cron job lines) ...]
[2018-07-27 10:44:02] main.INFO: Cron Job catalog_product_frontend_actions_flush is run [] []
[2018-07-27 10:44:02] main.INFO: Cron Job catalog_product_frontend_actions_flush is successfully finished. Statistics: {"sum":0.00043821334838867,"count":1,"realmem":0,"emalloc":752,"realmem_start":52428800,"emalloc_start":17237376} [] [
]
Preconditions
- Magento CE 2.2.5
Steps to reproduce
- Install Magento
- Setup Cron-Jobs (bin/magento cron:setup)
- Set deploy mode to production
Expected result
- Get a usable system.log
Actual result
- After one day, the system.log has already several MB filesize.
hostep and Lez-2
Metadata
Metadata
Assignees
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passednon-issue