Do not work turn-off line to syslogd "last message repeated N times'"

Chuck Swiger cswiger at mac.com
Fri Mar 2 23:10:29 UTC 2012


On Mar 2, 2012, at 2:52 PM, Vladislav V. Prodan wrote:
> # ps -auxww | grep syslog
> root         84784   0,0  0,0  12168   1348  ??  Ss   ср00   0:03,24 /usr/sbin/syslogd -sc
> root         24776   0,0  0,0  16408   1364   9  S+    2:50  0:00,00 grep syslog

Try specifying "-c" twice.

> #man syslogd
> 
> ...
>     -c      Disable the compression of repeated instances of the same line
>             into a single line of the form ``last message repeated N times''
>             when the output is a pipe to another program.  If specified
>             twice, disable this compression in all cases.

Presumably, you are just logging to a file, rather than to a pipe....

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list