[users@httpd] Re: Naming access logs using mod_log_rotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry..took me a sec to realize this wasn't an apache thing.  You can do
this with mod_log_rotate with a new release that just added this feature.
See:

http://www.apachelounge.com/

Tried it using their example and it works great.

____________________________
Steven Niedermeyer
Bellingham, WA



                                                                           
             "David Salisbury"                                             
             <salisbury@globe.                                             
             gov>                                                       To 
                                       <users@xxxxxxxxxxxxxxxx>            
             10/09/2006 04:03                                           cc 
             PM                                                            
                                                                   Subject 
                                       Re: [users@httpd] Naming access     
             Please respond to         logs                                
             users@xxxxxxxxxxx                                             
                   e.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           




I believe logrotate is meant to rename the original "hard coded" file.
I don't think you need the variable.

-ds


----- Original Message -----
From: <sniedermeyer@xxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Monday, October 09, 2006 4:59 PM
Subject: [users@httpd] Naming access logs


>I know how to specify the name of the access log.  However, I've been
> unable to uncover how to specify a file name with a variable.  For
example,
> I'm using log rotate and would like to have the file name include the
date.
> Does anyone know how to accomplish this?
>
> ____________________________
> Steven Niedermeyer
> Bellingham, WA
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux