Useful when used with syslog-ng, which uses SIGUSR1. Instead of adding
signal number to every new entry, just set it via command line option.
Details
Details
- Reviewers
bcr delphij - Group Reviewers
Src Committers - Commits
- rG81df9522c8b7: newsyslog: provide -I option to specify default signal
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I like the change in general, but if I was you I'd probably use getopt_long() and call the option --signal (consider this as an optional suggestion; I don't have strong opinion with this choice), because -I was somewhat counterintuitive to me as a flag to specify signal and both -s and -S were already occupied.
Comment Actions
i don't think we should be introducing mandatory non-standard GNU long options into base unless it's for compatibility with other platforms.