# Logrotate

\# cat /etc/logrotate.d/prod

```shell
/production/www/clients/prod.log{
        daily
        missingok
        compress
        delaycompress
        notifempty
        copytruncate
        create 644 nom nom
}

/production/www/clients/dev.log{
        daily
        missingok
        compress
        delaycompress
        notifempty
        copytruncate
        create 644 nom nom
}
```

  
Pour lancer logrotate:  
logrotate -f /etc/logrotate.d/(ta conf)