Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 18:03:22 +0200
From:      Gian Piero Carrubba <gpiero@rm-rf.it>
To:        questions@freebsd.org
Subject:   Re: Quieting SSHd messages to the console
Message-ID:  <20230918160322.lbqq2qstfmdky3tw@marcopolo.fdc.rm-rf.it>
In-Reply-To: <ae1fe405-7cd0-66e4-8224-309d933d1c79@gushi.org>
References:  <ae1fe405-7cd0-66e4-8224-309d933d1c79@gushi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* [Mon, Sep 18, 2023 at 10:06:02AM +0000] Dan Mahoney (Gushi):
>What goes to the console in /etc/syslog.conf is:
>
>*.err;kern.warning;auth.notice;mail.crit                /dev/console
>
>Is there a way to say "everything else.err, but not auth.err"?

"*.err;auth.none" if you do not want auth messages at all, 
"*.err;auth.crit" if you only want auth messages with level >error.

"*.err;auth.notice;auth.!=err" should give you auth messages with
(level >= notice and level != error), but I've not tested it.

Ciao,
Gian Piero.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230918160322.lbqq2qstfmdky3tw>