diff options
-rw-r--r-- | runit/svlogd.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index dfd7e38a0..412290ca9 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c | |||
@@ -140,15 +140,22 @@ log message, you can use a pattern like this instead | |||
140 | //usage:#define svlogd_full_usage "\n\n" | 140 | //usage:#define svlogd_full_usage "\n\n" |
141 | //usage: "Read log data from stdin and write to rotated log files in DIRs" | 141 | //usage: "Read log data from stdin and write to rotated log files in DIRs" |
142 | //usage: "\n" | 142 | //usage: "\n" |
143 | //usage: "\n""-r C Replace non-printable characters with C" | ||
144 | //usage: "\n""-R CHARS Also replace CHARS with C (default _)" | ||
145 | //usage: "\n""-t Timestamp with @tai64n" | ||
146 | //usage: "\n""-tt Timestamp with yyyy-mm-dd_hh:mm:ss.sssss" | ||
147 | //usage: "\n""-ttt Timestamp with yyyy-mm-ddThh:mm:ss.sssss" | ||
148 | //usage: "\n""-v Verbose" | ||
149 | //usage: "\n" | ||
143 | //usage: "\n""DIR/config file modifies behavior:" | 150 | //usage: "\n""DIR/config file modifies behavior:" |
144 | //usage: "\n""sSIZE - when to rotate logs" | 151 | //usage: "\n""sSIZE - when to rotate logs (default 1000000, 0 disables)" |
145 | //usage: "\n""nNUM - number of files to retain" | 152 | //usage: "\n""nNUM - number of files to retain" |
146 | /*usage: "\n""NNUM - min number files to retain" - confusing */ | 153 | ///////: "\n""NNUM - min number files to retain" - confusing |
147 | /*usage: "\n""tSEC - rotate file if it get SEC seconds old" - confusing */ | 154 | ///////: "\n""tSEC - rotate file if it get SEC seconds old" - confusing |
148 | //usage: "\n""!PROG - process rotated log with PROG" | 155 | //usage: "\n""!PROG - process rotated log with PROG" |
149 | /*usage: "\n""uIPADDR - send log over UDP" - unsupported */ | 156 | ///////: "\n""uIPADDR - send log over UDP" - unsupported |
150 | /*usage: "\n""UIPADDR - send log over UDP and DONT log" - unsupported */ | 157 | ///////: "\n""UIPADDR - send log over UDP and DONT log" - unsupported |
151 | /*usage: "\n""pPFX - prefix each line with PFX" - unsupported */ | 158 | ///////: "\n""pPFX - prefix each line with PFX" - unsupported |
152 | //usage: "\n""+,-PATTERN - (de)select line for logging" | 159 | //usage: "\n""+,-PATTERN - (de)select line for logging" |
153 | //usage: "\n""E,ePATTERN - (de)select line for stderr" | 160 | //usage: "\n""E,ePATTERN - (de)select line for stderr" |
154 | 161 | ||