sysklogd icon indicating copy to clipboard operation
sysklogd copied to clipboard

RFE: `strftime(3)`-like format specifiers in log file name

Open opty77 opened this issue 2 years ago • 1 comments

Please add support for strftime(3)-like format specifiers in log file name so one can use templates like /var/log/messages-%F in /etc/syslog.conf and doesn't have to use logrotate(3) (except corner cases, e.g. /var/log/wtmp at least).

Beyond the scope of this issue and for discussion, syslogd might eventually support non-date/time related specifiers like host name.

(Based on cronolog recommendation by user "colo" on channel #openwrt at OFTC IRC network.)

opty77 avatar Jul 27 '23 11:07 opty77

I changed my mind and now consider this useless. If you think otherwise then please open your own issue.

opty77 avatar Dec 10 '23 11:12 opty77