Dec 23, 2004 #1 garlam Programmer Joined Oct 15, 2004 Messages 10 Location IT There is a way to put an header (for example #Date: $current_date) on the Apache access.log ???? Thank in advance, Mauro.
There is a way to put an header (for example #Date: $current_date) on the Apache access.log ???? Thank in advance, Mauro.
Dec 23, 2004 #2 lgarner IS-IT--Management Joined Jan 26, 2002 Messages 2,348 Location US If you mean the date that the log was started, you could do that in the "postrotate" section of the logrotation config file. Upvote 0 Downvote
If you mean the date that the log was started, you could do that in the "postrotate" section of the logrotation config file.
Dec 23, 2004 #3 Deleted Technical User Joined Jul 17, 2003 Messages 470 Location US Just curious what your reason is.. You can add a header to the file.. But if you plan to parse the file for any reason (ex: website stats) then more likely you will run into issues. http://unixjunky.com Upvote 0 Downvote
Just curious what your reason is.. You can add a header to the file.. But if you plan to parse the file for any reason (ex: website stats) then more likely you will run into issues. http://unixjunky.com