forked from logicnow/BlueSky
-
Notifications
You must be signed in to change notification settings - Fork 4
Clear Apache Logs
Alex Narvey edited this page Sep 8, 2024
·
2 revisions
The apache2 access.log and error.log will grow and grow until they fill up all available space.
To clear them out, ssh into your Docker Droplet:
Execute into the Docker instance:
docker exec -it bluesky bash
Check for the existence of the logs first:
cd /var/log/apache2
And remove the logs. They will get recreated by apache.
rm /var/log/apache2/access.log
rm /var/log/apache2/error.log