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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
"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 |
|
|||
|
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 |
|
|||
|
"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 |