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.

--- [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 <URL: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 <URL: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 <URL: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]

Reply via email to