Dec 23, 2004 #1 garlam Programmer Oct 15, 2004 10 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 Jan 26, 2002 2,348 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 Jul 17, 2003 470 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