Feature Request for Macros
Hello, I'd like to submit two feature requests for macros in syslog-ng. 1. Week of the month. The WEEK macro gives the absolute week within the year. What I would like to see is a new macro parameter for the week within the month. An algorithm for this might be: the first day of the month falls in the first week. Thereafter the week counter is incremented the same way as the standard WEEK parameter. So the range of values this parameter would take is 1 - 5. Example use: file("var/log/$YEAR/$MONTH/$MONTHWEEK/some.log") where I've called the new macro parameter "MONTHWEEK" 2. A macro parameter for month "name", i.e. the common abbreviation for each month, e.g. Jan, Feb, Mar, etc. Thanks, V. R. -- aero1967@fastmail.fm -- http://www.fastmail.fm - Accessible with your email software or over the web
participants (1)
-
aero1967ļ¼ fastmail.fm