Created
December 12, 2018 07:43
-
-
Save GideonBabu/8633d927fcd6a1dbc9172f7eda5bbb11 to your computer and use it in GitHub Desktop.
Magento 2 Log rotate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /var/www/html/var/log/*.log { | |
| daily | |
| missingok | |
| rotate 14 | |
| compress | |
| notifempty | |
| create 0777 magento2-file-username magento2-file-username | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment