Re: [EMAIL PROTECTED] AccessLog isn't logging
Hahahahahahahaha, 3 days later, I solved the problem My disk was completely full :P Cheers. --- [EMAIL PROTECTED] escribió: > I tried the following: > > > First, commented any LogFormat and CustomLog or > ErrorLog... in httpd.conf. > > Second, add to the > following lines: > > LogFormat "%h %l %u %t \"%r\" %>s %b" common > CustomLog logs/vh_access_log common > > But vh_access_log file is not being created when I > do > a graceful restart. =( > > Any help? > > Thank you. > > --- [EMAIL PROTECTED] escribió: > > > Yes, > > > > I have the following line activated: > > > > CustomLog logs/access_log common > > > > The proof that that line is working is that when I > > delete access_log file and then restart apache, > > access_log file is automatically recreated. > > > > > > --- Jeff Peng <[EMAIL PROTECTED]> escribió: > > > > > > > > Original-Nachricht > > > > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT) > > > > Von: [EMAIL PROTECTED] > > > > An: users@httpd.apache.org > > > > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t > > > logging > > > > > > > I actually renamed old access_log into > > > access_log.bk > > > > because it was pretty large. Then, I created a > > new > > > > access_log file > > > > > > This is not good way for rotate log files.You > may > > > do, > > > cp -f access_log access_log.0 # if you need the > > > backup > > > echo -n > access_log > > > > > > > > > > The file is always 0 byte size... > > > > > > > > > > Have you enabled apache logging in > httpd.conf?Such > > a > > > line like: > > > CustomLog logs/access_log common > > > > > > -- > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, > 10 > > > Free SMS. > > > Alle Infos und kostenlose Anmeldung: > > > http://www.gmx.net/de/go/freemail > > > > > > > > > - > > > The official User-To-User support forum of the > > > Apache HTTP Server Project. > > > See http://httpd.apache.org/userslist.html> > > for > > > more info. > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > >" from the digest: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > ¡Sé un mejor besador! > > Comparte todo lo que sabes sobre besos. > > > > > http://mx.yahoo.com/promos/mejorbesador.html > > > > > - > > The official User-To-User support forum of the > > Apache HTTP Server Project. > > See http://httpd.apache.org/userslist.html> > for > > more info. > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > >" from the digest: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > ¡Sé un mejor fotógrafo! > Perfecciona tu técnica y encuentra las mejores > fotos. > http://mx.yahoo.com/promos/mejorfotografo.html > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ¡Sé un mejor asador! Aprende todo sobre asados. http://mx.yahoo.com/promos/mejorasador.html - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AccessLog isn't logging
I tried the following: First, commented any LogFormat and CustomLog or ErrorLog... in httpd.conf. Second, add to the following lines: LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/vh_access_log common But vh_access_log file is not being created when I do a graceful restart. =( Any help? Thank you. --- [EMAIL PROTECTED] escribió: > Yes, > > I have the following line activated: > > CustomLog logs/access_log common > > The proof that that line is working is that when I > delete access_log file and then restart apache, > access_log file is automatically recreated. > > > --- Jeff Peng <[EMAIL PROTECTED]> escribió: > > > > > Original-Nachricht > > > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT) > > > Von: [EMAIL PROTECTED] > > > An: users@httpd.apache.org > > > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t > > logging > > > > > I actually renamed old access_log into > > access_log.bk > > > because it was pretty large. Then, I created a > new > > > access_log file > > > > This is not good way for rotate log files.You may > > do, > > cp -f access_log access_log.0 # if you need the > > backup > > echo -n > access_log > > > > > > > The file is always 0 byte size... > > > > > > > Have you enabled apache logging in httpd.conf?Such > a > > line like: > > CustomLog logs/access_log common > > > > -- > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 > > Free SMS. > > Alle Infos und kostenlose Anmeldung: > > http://www.gmx.net/de/go/freemail > > > > > - > > The official User-To-User support forum of the > > Apache HTTP Server Project. > > See http://httpd.apache.org/userslist.html> > for > > more info. > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > >" from the digest: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > ¡Sé un mejor besador! > Comparte todo lo que sabes sobre besos. > > http://mx.yahoo.com/promos/mejorbesador.html > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ¡Sé un mejor fotógrafo! Perfecciona tu técnica y encuentra las mejores fotos. http://mx.yahoo.com/promos/mejorfotografo.html - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AccessLog isn't logging
Yes, I have the following line activated: CustomLog logs/access_log common The proof that that line is working is that when I delete access_log file and then restart apache, access_log file is automatically recreated. --- Jeff Peng <[EMAIL PROTECTED]> escribió: > > Original-Nachricht > > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT) > > Von: [EMAIL PROTECTED] > > An: users@httpd.apache.org > > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t > logging > > > I actually renamed old access_log into > access_log.bk > > because it was pretty large. Then, I created a new > > access_log file > > This is not good way for rotate log files.You may > do, > cp -f access_log access_log.0 # if you need the > backup > echo -n > access_log > > > > The file is always 0 byte size... > > > > Have you enabled apache logging in httpd.conf?Such a > line like: > CustomLog logs/access_log common > > -- > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 > Free SMS. > Alle Infos und kostenlose Anmeldung: > http://www.gmx.net/de/go/freemail > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ¡Sé un mejor besador! Comparte todo lo que sabes sobre besos. http://mx.yahoo.com/promos/mejorbesador.html - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AccessLog isn't logging
Original-Nachricht > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT) > Von: [EMAIL PROTECTED] > An: users@httpd.apache.org > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t logging > I actually renamed old access_log into access_log.bk > because it was pretty large. Then, I created a new > access_log file This is not good way for rotate log files.You may do, cp -f access_log access_log.0 # if you need the backup echo -n > access_log > The file is always 0 byte size... > Have you enabled apache logging in httpd.conf?Such a line like: CustomLog logs/access_log common -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AccessLog isn't logging
I actually renamed old access_log into access_log.bk because it was pretty large. Then, I created a new access_log file and after that apache never logged again. I've made a lot of graceful restarts, delete access_log and let apache recreate it but the problem persists. The file is always 0 byte size... I don't know if php.ini configuration can be interfering apache logging. This starts to happen since I configured php.ini to log php errors on apache's error log. Thanks in advance. --- Ken Zhao <[EMAIL PROTECTED]> escribió: > Did u erase the access_log file for specific virtual > host or root access_log > file? could u post ur screenshot or textinfo on ur > VirtualHost directive? > > On 8/25/07, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > > > Hello. > > > > I don't know why my access_log file is always 0 > bytes > > size. I've searched all among httpd.conf but can't > > find where's the problem. > > > > I have the CommonLog directive activated in the > > following way: > > > > CustomLog logs/access_log common > > > > It's in the httpd.conf context. > > > > If I erase access_log file and then restart > apache, > > access_log file is created again but no matter how > > many files I request (and show in my browser) > nothing > > is being registered in access file. The size is > always > > 0 > > > > have tried: chmod 777 access_log, but no > results... > > > > Does anybody has some suggestions about how to > solve > > this issue? > > > > Can this access_log be bypassed by mod_jk o > mod_php in > > some way? > > > > thanks in advance. > > > > > > > > > > > > > > > ¡Sé un mejor fotógrafo! > > Perfecciona tu técnica y encuentra las mejores > fotos. > > http://mx.yahoo.com/promos/mejorfotografo.html > > > > > - > > The official User-To-User support forum of the > Apache HTTP Server Project. > > See http://httpd.apache.org/userslist.html> > for more info. > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > " from the digest: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > -- > http://islab.org > ¡Sé un mejor asador! Aprende todo sobre asados. http://mx.yahoo.com/promos/mejorasador.html - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AccessLog isn't logging
This is my CustomLog directive: CustomLog logs/access_log common This is my "common" format: LogFormat "%h %l %u %t \"%r\" %>s %b" common I don't know if php.ini configuration can be interfering apache logging. This starts to happen since I configured php.ini to log php errors on apache's error log. --- Steve Swift <[EMAIL PROTECTED]> escribió: > I'm no expert on logging, but the "CustomLog" > statement seems to be all you > need for apache to create the corresponding log at > startup. > > However, to actually add some lines, it would need > to use your "common" > LogFormat... Perhaps you have some flaw in the > LogFormat that is preventing > it from working? > > What's in your "Logformat ... common" line? > > -- > Steve Swift > http://www.swiftys.org.uk > ¡Sé un mejor besador! Comparte todo lo que sabes sobre besos. http://mx.yahoo.com/promos/mejorbesador.html - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] AccessLog isn't logging
Did u erase the access_log file for specific virtual host or root access_log file? could u post ur screenshot or textinfo on ur VirtualHost directive? On 8/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello. > > I don't know why my access_log file is always 0 bytes > size. I've searched all among httpd.conf but can't > find where's the problem. > > I have the CommonLog directive activated in the > following way: > > CustomLog logs/access_log common > > It's in the httpd.conf context. > > If I erase access_log file and then restart apache, > access_log file is created again but no matter how > many files I request (and show in my browser) nothing > is being registered in access file. The size is always > 0 > > have tried: chmod 777 access_log, but no results... > > Does anybody has some suggestions about how to solve > this issue? > > Can this access_log be bypassed by mod_jk o mod_php in > some way? > > thanks in advance. > > > > > > > ¡Sé un mejor fotógrafo! > Perfecciona tu técnica y encuentra las mejores fotos. > http://mx.yahoo.com/promos/mejorfotografo.html > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://islab.org
Re: [EMAIL PROTECTED] AccessLog isn't logging
I'm no expert on logging, but the "CustomLog" statement seems to be all you need for apache to create the corresponding log at startup. However, to actually add some lines, it would need to use your "common" LogFormat... Perhaps you have some flaw in the LogFormat that is preventing it from working? What's in your "Logformat ... common" line? -- Steve Swift http://www.swiftys.org.uk
RE: [EMAIL PROTECTED] AccessLog isn't logging
Still not working. I've added the CustomLog to my VirtualHost =( --- "Fought, Richard" <[EMAIL PROTECTED]> escribió: > > > > > > I don't know why my access_log file is always 0 > bytes size. > > I've searched all among httpd.conf but can't find > where's the problem. > > > > Do you have CustomLog directives defined in any > virtual hosts? I > believe that would cause the behavior you are > seeing. > > See > http://httpd.apache.org/docs/2.0/logs.html#virtualhost > > Rich > > - > The official User-To-User support forum of the > Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > [EMAIL PROTECTED] >" from the digest: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ¡Sé un mejor asador! Aprende todo sobre asados. http://mx.yahoo.com/promos/mejorasador.html - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] AccessLog isn't logging
> > I don't know why my access_log file is always 0 bytes size. > I've searched all among httpd.conf but can't find where's the problem. > Do you have CustomLog directives defined in any virtual hosts? I believe that would cause the behavior you are seeing. See http://httpd.apache.org/docs/2.0/logs.html#virtualhost Rich - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]