Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2012 15:10:26 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        "Vladislav V. Prodan" <universite@ukr.net>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Do not work turn-off line to syslogd "last message repeated N	times'"
Message-ID:  <36E43B7A-DCB4-4EFD-92A2-4B5B50BF89AD@mac.com>
In-Reply-To: <4F514F23.7040804@ukr.net>
References:  <4F514F23.7040804@ukr.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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   =D1=81=D1=8000   =
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
>=20
> ...
>     -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,
--=20
-Chuck




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?36E43B7A-DCB4-4EFD-92A2-4B5B50BF89AD>