Why are my access log entries doubled?

This is a discussion on Why are my access log entries doubled? within the Apache Web Server forums, part of the Web Server and Related Forums category; I'm running apache 1.3.31 on FreeBSD 4.10 stable I've noticed that all of my access ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2004
James Johnson
 
Posts: n/a
Default Why are my access log entries doubled?


I'm running apache 1.3.31 on FreeBSD 4.10 stable

I've noticed that all of my access log lines have started being
written twice. The begining of the access log file only has single
lines, but sometime after that the log files started showin double
entires.

What's causing that?

James


  #2 (permalink)  
Old 12-12-2004
Davide Bianchi
 
Posts: n/a
Default Re: Why are my access log entries doubled?

On 2004-12-12, James Johnson <jjjhnson2-1779231@yahoo.com> wrote:
> What's causing that?


You are rewriting the the requests or something else. If you can't
pinpoint when this happens is going to be difficult to find out.

Davide

--
Windows 95 really does have pre-emptive multitasking: It can boot and
crash at the same time.
  #3 (permalink)  
Old 12-12-2004
Stuart Miller
 
Posts: n/a
Default Re: Why are my access log entries doubled?


"James Johnson" <jjjhnson2-1779231@yahoo.com> wrote in message
news:260pr0pge3u77a2uarvpm6npai9ge0676t@4ax.com...
>
> I'm running apache 1.3.31 on FreeBSD 4.10 stable
>
> I've noticed that all of my access log lines have started being
> written twice. The begining of the access log file only has single
> lines, but sometime after that the log files started showin double
> entires.
>
> What's causing that?
>
> James


I had the same problem when I first set up apache. In the config file I had
the log format specified twice, once as the default format, and again a few
lines further down as the custom log format. Check that you commented out
the old format when you set up a new one.

Stuart


  #4 (permalink)  
Old 12-12-2004
James Johnson
 
Posts: n/a
Default Re: Why are my access log entries doubled?

On Sun, 12 Dec 2004 22:15:06 GMT, "Stuart Miller"
<stuart_miller@shaw.ca> wrote:

>
>"James Johnson" <jjjhnson2-1779231@yahoo.com> wrote in message
>news:260pr0pge3u77a2uarvpm6npai9ge0676t@4ax.com.. .
>>
>> I'm running apache 1.3.31 on FreeBSD 4.10 stable
>>
>> I've noticed that all of my access log lines have started being
>> written twice. The begining of the access log file only has single
>> lines, but sometime after that the log files started showin double
>> entires.
>>
>> What's causing that?
>>
>> James

>
>I had the same problem when I first set up apache. In the config file I had
>the log format specified twice, once as the default format, and again a few
>lines further down as the custom log format. Check that you commented out
>the old format when you set up a new one.
>
>Stuart
>


I see that in /usr/local/etc/apache/httpd.conf I have virtual hosting
turned on (two web sites). In each I have:
TransferLog = mylogfile
CustomLog = mylogfile

I'm new to apache. I set this up a few months ago and forgot about it.
I did upgrade to apache 1.3.32 a few weeks ago. Maybe that's when the
entries started doubling. I'll comment out TransferLog and see what
happens.

thanks,
James

  #5 (permalink)  
Old 12-13-2004
wie.niet
 
Posts: n/a
Default Re: Why are my access log entries doubled?


"James Johnson" <jjjhnson2-1779231@yahoo.com> schreef in bericht
news:ifmpr0dismug3nkk6tkoi0gr4p4kdo8te8@4ax.com...
> On Sun, 12 Dec 2004 22:15:06 GMT, "Stuart Miller"
> <stuart_miller@shaw.ca> wrote:
>
> >
> >"James Johnson" <jjjhnson2-1779231@yahoo.com> wrote in message
> >news:260pr0pge3u77a2uarvpm6npai9ge0676t@4ax.com.. .
> >>
> >> I'm running apache 1.3.31 on FreeBSD 4.10 stable
> >>
> >> I've noticed that all of my access log lines have started being
> >> written twice. The begining of the access log file only has single
> >> lines, but sometime after that the log files started showin double
> >> entires.
> >>
> >> What's causing that?
> >>
> >> James

> >
> >I had the same problem when I first set up apache. In the config file I

had
> >the log format specified twice, once as the default format, and again a

few
> >lines further down as the custom log format. Check that you commented out
> >the old format when you set up a new one.
> >
> >Stuart
> >

>
> I see that in /usr/local/etc/apache/httpd.conf I have virtual hosting
> turned on (two web sites). In each I have:
> TransferLog = mylogfile
> CustomLog = mylogfile
>
> I'm new to apache. I set this up a few months ago and forgot about it.
> I did upgrade to apache 1.3.32 a few weeks ago. Maybe that's when the
> entries started doubling. I'll comment out TransferLog and see what
> happens.
>
> thanks,
> James
>


see: http://httpd.apache.org/docs/mod/mod...ml#transferlog
and: http://httpd.apache.org/docs/mod/mod...html#customlog
or
maybe more complete: http://httpd.apache.org/docs/mod/mod_log_config.html



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0