I deleted the log files manually in /var/www/virtual/mydomain.com/logs. I have not deleted the directories. The logs in /var/log/apache2 are updated regularly, but they will no longer be copied to /var/www/virtual/mydomain.com/logs. The directories there remain empty. I've restarted Apache2 and executed the command perl /var/www/imscp/engine/tools/imscp-httpd-logs-mngr. There was no error messages. I work with i-MSCP 1.2.17.
Logs manually deleted in /var/www/virtual/mydomain.com/logs, now they are no longer updated
- tobi357
- Closed
- Thread is marked as Resolved.
-
-
I have solved the problem by myself, as I have also deleted the contents of /var/log/apache2, rebooted apache2, changed the owner from "adm" to "root", and executed imscp-httpd-logs-mngr.
Nevertheless, I have a question about the logs: There are the logs access.log, access.log.1 and access.log.1.gz
Is that ok so and where is the difference? -
-
The logs are rotated. See man logrotate for further explanations.