In reference to the old thread:
http://forums.cpanel.net/f5/modifying-default-apache-log-format-230302.html
The "dir.logformat" is defined in the yaml apache conf file, located in:
/var/cpanel/conf/apache
Looks like the "local" file will take precedence over "main".
I think you'll then need to run these after changing the config:
/usr/local/cpanel/bin/apache_conf_distiller --update
/usr/local/cpanel/bin/build_apache_conf
Note: before changes will take effect, you'll need to stop and start apache.
You can take a look at the httpd.conf to see if your logformat changes have been put in place. Then tail -f /usr/local/apache/logs/access_log , and watch it go!
http://forums.cpanel.net/f5/modifying-default-apache-log-format-230302.html
The "dir.logformat" is defined in the yaml apache conf file, located in:
/var/cpanel/conf/apache
Looks like the "local" file will take precedence over "main".
I think you'll then need to run these after changing the config:
/usr/local/cpanel/bin/apache_conf_distiller --update
/usr/local/cpanel/bin/build_apache_conf
Note: before changes will take effect, you'll need to stop and start apache.
You can take a look at the httpd.conf to see if your logformat changes have been put in place. Then tail -f /usr/local/apache/logs/access_log , and watch it go!