On 1/11/99 11:56 PM Nathan Stratton ([EMAIL PROTECTED]) wrote:

>I have had a access_log on my personal webserver for the last year. Today
>I modified apache logs so that I would be able to have the referrer,
>agent, and access log information all in the same logfile. The problem I
>ran into is that I no longer have any logging on the old data just the new
>section of the logs. Is there a way to convert the old log format so I can
>keep my years of logs?
>
>Old format:
>209.166.48.21 - - [23/Jan/1998:16:56:51 -0500] "GET /contact.html
>HTTP/1.0" 200 1997 
>
>
>New format:
>24.1.42.229 - - [11/Jan/1999:23:22:40 -0500] "GET /images/snowman.jpg
>HTTP/1.0"
>206 8965 "http://www.robotics.net/" "Mozilla/4.5 [en] (Win98; U)"

Try setting the logformat to include both formats explicitly. That would 
be

LOGFORMAT COMMON
LOGFORMAT COMBINED

That should do it.
Jason

-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to