List Info

Thread: Re: AccessLog isn't logging




Re: AccessLog isn't logging
country flaguser name
Mexico
2007-08-27 10:16:06
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 <jeffpenggmx.net> escribió:

> 
> -------- Original-Nachricht --------
> > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT)
> > Von: gerocoma-forophpyahoo.com
> > An: usershttpd.apache.org
> > Betreff: Re: [usershttpd] 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 <URL:http://htt
pd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribehttpd.apache.org
>    "   from the digest:
> users-digest-unsubscribehttpd.apache.org
> For additional commands, e-mail:
> users-helphttpd.apache.org
> 
> 



     
____________________________________________________________
________________________
¡Sé un mejor besador!
Comparte todo lo que sabes sobre besos.                     

http://m
x.yahoo.com/promos/mejorbesador.html

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: AccessLog isn't logging
country flaguser name
Mexico
2007-08-27 13:06:39
I tried the following:


First, commented any LogFormat and CustomLog or
ErrorLog... in httpd.conf. 

Second, add to  <VirtualHost _default_:443> 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.

--- gerocoma-forophpyahoo.com 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 <jeffpenggmx.net> escribió:
> 
> > 
> > -------- Original-Nachricht --------
> > > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT)
> > > Von: gerocoma-forophpyahoo.com
> > > An: usershttpd.apache.org
> > > Betreff: Re: [usershttpd] 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 <URL:http://htt
pd.apache.org/userslist.html>
> for
> > more info.
> > To unsubscribe, e-mail:
> > users-unsubscribehttpd.apache.org
> >    "   from the digest:
> > users-digest-unsubscribehttpd.apache.org
> > For additional commands, e-mail:
> > users-helphttpd.apache.org
> > 
> > 
> 
> 
> 
>      
>
____________________________________________________________
________________________
> ¡Sé un mejor besador!
> Comparte todo lo que sabes sobre besos.             
>         
> http://m
x.yahoo.com/promos/mejorbesador.html
> 
>
------------------------------------------------------------
---------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://htt
pd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribehttpd.apache.org
>    "   from the digest:
> users-digest-unsubscribehttpd.apache.org
> For additional commands, e-mail:
> users-helphttpd.apache.org
> 
> 



     
____________________________________________________________
________________________
¡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 <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )