summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-07-21 22:13:06 +0000
committersobomax <sobomax@FreeBSD.org>2006-07-21 22:13:06 +0000
commit9d70629cbaaea9865d9f6ec1bac456ba1a85d373 (patch)
tree757a7216eec2c6b3f4b32041fcd7f585b5dc4628 /usr.sbin/newsyslog
parente96f2e292b4a7fc255d7f31c766d8da51f872acb (diff)
downloadFreeBSD-src-9d70629cbaaea9865d9f6ec1bac456ba1a85d373.zip
FreeBSD-src-9d70629cbaaea9865d9f6ec1bac456ba1a85d373.tar.gz
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
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c4
-rw-r--r--usr.sbin/newsyslog/newsyslog.conf.515
2 files changed, 1 insertions, 18 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 7177e30..a7dbe08 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -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 @@ no_trimat:
working->flags |= CE_SIGNALGROUP;
break;
case 'w':
- working->flags |= CE_COMPACTWAIT;
+ /* Depreciated flag - keep for compatibility purposes */
break;
case 'z':
working->flags |= CE_COMPACT;
diff --git a/usr.sbin/newsyslog/newsyslog.conf.5 b/usr.sbin/newsyslog/newsyslog.conf.5
index 16a3185..e848d69 100644
--- a/usr.sbin/newsyslog/newsyslog.conf.5
+++ b/usr.sbin/newsyslog/newsyslog.conf.5
@@ -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
OpenPOWER on IntegriCloud