apache logging chege question
I am trying to change the logging format from common to combined. I commented out the common line and uncommented the combined. After I restarted apache the logs did not change.
The next thing I tried was to stop apache, move the current log and then restart apache. Am I missing something? LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # CustomLog /prod/apache/logs/access_log common CustomLog /prod/apache/logs/access_log combined TransferLog "|/prod/apache/bin/rotatelogs /prod/apache/logs/access_log 604800" |
The logs themself don't change unless you run a script over them to change them ... I had a script somewhere sometime but don't remember that part!
Just connect to the HTTP-Server and see if the logging changed then ... |
No, I understand that the past logs don't change but the new activity that is being logged is not including the referrer and user agent information that it should now include.
|
What version of apache are you using ?
|
1.3.26 on solaris8 (I know it's not linux)
I also tried to add the logging rules to the virtual host section for this <VirtualHost xxx.org> ServerAdmin xxx@xxx.org ServerName xxx.org DocumentRoot /prod/apache/htdocs ErrorLog /prod/apache/logs/error_log LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog /prod/apache/logs/access_log combined TransferLog "|/prod/apache/bin/rotatelogs /prod/apache/logs/access_log 604800" (goes on...) |
No help?
Anyone know a good apache list? |
All times are GMT -5. The time now is 07:00 AM. |