cherokee-tweak (http://www.cherokee-project.com/doc/...ging_logs.html)
To actually rotate the logs, you must use logrotate as command parameter.
Provided the user running cherokee-tweak has sufficient permissions, the rotation will be effective. Just provide the required parameters:
cherokee-tweak parameters
$ cherokee-tweak -c logrotate -a Example Domain -u admin -p adminpass -l /var/log/cherokee.access
Command output
Setting backup mode.. OK Log file '/var/log/cherokee.access' moved to '/var/log/cherokee.access.1' successfully Restoring production mode.. OK
That should do it. cherokee-tweak is a powerful tool. Take a look at the parameters and you find out if it can solve some of your administration problems.
To actually rotate the logs, you must use logrotate as command parameter.
Provided the user running cherokee-tweak has sufficient permissions, the rotation will be effective. Just provide the required parameters:
- command, which is logrotate
- url, the administration URL
- log, the log file to be rotated
- user and password, since the administration interface has restricted access.
cherokee-tweak parameters
$ cherokee-tweak -c logrotate -a Example Domain -u admin -p adminpass -l /var/log/cherokee.access
Command output
Setting backup mode.. OK Log file '/var/log/cherokee.access' moved to '/var/log/cherokee.access.1' successfully Restoring production mode.. OK
That should do it. cherokee-tweak is a powerful tool. Take a look at the parameters and you find out if it can solve some of your administration problems.
Commenta