Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
opty77 opened this issue Jul 27, 2023 · 1 comment
Open

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

opty77 opened this issue Jul 27, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@opty77
Copy link

opty77 commented Jul 27, 2023

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 opty77 changed the title [RFE] strftime(3)-like format specifiers in log file name RFE: strftime(3)-like format specifiers in log file name Jul 27, 2023
@troglobit troglobit added this to the v2.6.0 milestone Jul 27, 2023
@troglobit troglobit added enhancement New feature or request good first issue Good for newcomers labels Jul 27, 2023
@opty77
Copy link
Author

opty77 commented Dec 10, 2023

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

@opty77 opty77 closed this as completed Dec 10, 2023
@troglobit troglobit reopened this Dec 10, 2023
@troglobit troglobit modified the milestones: v2.6.0, FUTURE Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants