Remove mention of the `W' flag, which has been turned to no-op by the
neworder change. Keep the option in a config file parser, to not violate POLA. MFC after: 2 weeks
This commit is contained in:
parent
3ce72960e8
commit
7697c5e483
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160560
@ -93,8 +93,6 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
#define CE_COMPACT 0x0001 /* Compact the achived log files with gzip. */
|
||||
#define CE_BZCOMPACT 0x0002 /* Compact the achived log files with bzip2. */
|
||||
#define CE_COMPACTWAIT 0x0004 /* wait until compressing one file finishes */
|
||||
/* before starting the next step. */
|
||||
#define CE_BINARY 0x0008 /* Logfile is in binary, do not add status */
|
||||
/* messages to logfile(s) when rotating. */
|
||||
#define CE_NOSIGNAL 0x0010 /* There is no process to signal when */
|
||||
@ -1225,7 +1223,7 @@ parse_file(FILE *cf, const char *cfname, struct conf_entry **work_p,
|
||||
working->flags |= CE_SIGNALGROUP;
|
||||
break;
|
||||
case 'w':
|
||||
working->flags |= CE_COMPACTWAIT;
|
||||
/* Depreciated flag - keep for compatibility purposes */
|
||||
break;
|
||||
case 'z':
|
||||
working->flags |= CE_COMPACT;
|
||||
|
@ -296,21 +296,6 @@ indicates that the file specified by
|
||||
will contain the ID for a process group instead of a process.
|
||||
This option also requires that the first line in that file
|
||||
be a negative value to distinguish it from a process ID.
|
||||
.It Cm W
|
||||
if used with the
|
||||
.Cm Z
|
||||
or
|
||||
.Cm J
|
||||
flag, this indicates that
|
||||
.Xr newsyslog 8
|
||||
should wait for previously started compression jobs to complete before
|
||||
starting a new one for this entry.
|
||||
If this is used with the
|
||||
.Cm G
|
||||
flag and if multiple log files match the given pattern, then
|
||||
.Xr newsyslog 8
|
||||
will compress those logs one by one.
|
||||
This ensures that only one compression job is running at a time.
|
||||
.It Cm Z
|
||||
indicates that
|
||||
.Xr newsyslog 8
|
||||
|
Loading…
Reference in New Issue
Block a user