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/
folder and then splits the logs into their own user and domain folders under the /var/log/apache2/domlogs/
folder. The files stored in the /home/username/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 $username
Please note that "$username" must be replaced with the cPanel user's username.
Please note that running this command empties the corresponding domlogs for the user.
Comments
0 comments
Article is closed for comments.