apache/rotate-logs

Rotate Logs

Rotate Apache log files

logs
maintenance

Command

sudo apache2ctl graceful

Explanation

Rotates log files without stopping the server (graceful restart).

Examples

Rotate logs gracefully

sudo apache2ctl graceful