Question
Why are my access_logs missing from my home directory's log folder?
Answer
The server stores all logs in the /var/log/apache2/access_log folder and then splits the logs into their own user and domain folders under the /var/log/apache2/access_log/domlogs folder.
The files stored in the /home/<userdir>/logs/ folder are the compressed log files from these folders after the web statistics are run.
To generate the files in the log folder run the following command.
/usr/local/cpanel/scripts/runweblogs <user>
Please note, that running this command empties the corresponding domlogs for the user.
Comments
0 comments
Article is closed for comments.