Red Hat Bugzilla – Bug 81819
Create logfilename with date
Last modified: 2007-11-30 17:06:52 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
Description of problem:
If you want to add the date to the name of the logifle, something like
extension `date '+%b%d%Y'`
doesn't work. Anything in this direction would be great...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add "extension `date '+%b%d%Y'`" to conf file
2. the result logfile name ist "logfile-`date '+%b%d%Y'`.1.log
An other way to solve this problem, is to add a new option, like "date" and
/sbin/killall -HUP syslogd
Taking patches, but not planning to do much more than that at this point.
Bug 108775 has a patch for something similar.