Index: [Article Count Order] [Thread]

Date:  Fri, 14 Mar 2008 16:27:57 +0000
From:  Dogsbody <dan (at mark) dogsbody.org>
Subject:  [coba-e:12276] Re: Cron error messages
To:  coba-e (at mark) bluequartz.org
Message-Id:  <47DAA78D.7000009 (at mark) dogsbody.org>
In-Reply-To:  <00cd01c8852b$9d6b6c10$e5b418ac@dell>
References:  <00cd01c8852b$9d6b6c10$e5b418ac@dell>
X-Mail-Count: 12276


>> Ok, just started getting this on a server that I recently updated.
>> Turns out it appears to be a difference in how Apache (httpd) 
>> is logging versus what analog expects to see.  My answer 
>> (that appears to have fixed it) was to edit the 
>> /etc/httpd/conf/httpd.conf file and change the LogFormat line 
>> as follows:
>>
>> <quote>
>> ##LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
>> \"%{User-Agent}i\"" 
>> combined
>> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
>> \"%{User-Agent}i\"" 
>> combined
>> </quote>
>>
>> Note I copied the line, commented the original out, then 
>> deleted the %v and a space from the beginning of the line.  
>> Your mileage may vary... but it stopped my error messages from cron.


Warning, I could be wrong but if memory serves the %v ads the virtual 
site name to the log file.  This is then used to split the logs into the 
correct site directories each night.  Make sure this hasn't broken after 
you make the change!

Dan