> Please login to your server via SSH as the root access user
> Please run the below command to enable the logs
echo archive-logs=1 > /root/.cpanel-logs
> Please run the following loop to write the raw access log archive settings to each cPanel user on the serve
for user in `/bin/ls -1 /var/cpanel/users`;
do cp -frp /root/.cpanel-logs /home/$user/;
chown $user.$user /home/$user/.cpanel-logs; chmod 640 /home/$user/.cpanel-logs; done