Hi All,
Execute following command on your project root folder:
php symfony log:rotate frontend prod --period=1 --history=5
In above command,
period 1 means:
frontend_prod.log contains 1 day log data and very next day backup of same file will be saved under log/history folder and also empty it.
history 5 means:
Under log/history folder, backup of 5 days will be stored only.
Cheers!!!
Execute following command on your project root folder:
php symfony log:rotate frontend prod --period=1 --history=5
In above command,
period 1 means:
frontend_prod.log contains 1 day log data and very next day backup of same file will be saved under log/history folder and also empty it.
history 5 means:
Under log/history folder, backup of 5 days will be stored only.
Cheers!!!
This post will be very useful to us....i like your blog and helpful to me..
ReplyDeleteDedicated PHP Developers in India