diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2008-05-06 15:12:01 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2008-05-06 15:12:01 +0000 |
commit | 57e85c70cc40043610ede0ecf70884e1b45176db (patch) | |
tree | 063a4db950f0412a62367cb6cfb51ac982263f6a /lib/libc/gen | |
parent | 4053d3d1e9e579c9002ffd6dc9fd649f1dd60d3a (diff) |
Use the standard syslog levels on CARP logging messages instead of
simple on/off, allowing more control over how verbose the logging is.
This also allows you to do a further level of filtering in syslog.conf
if you need to.
Also add logging of state changes, inspired by diff provided by
Brian A. Seklecki in PR 5513. These messages are logged by default.
ok henning mpf deraadt
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/sysctl.3 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 0df57027617..cbdb581684c 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.179 2008/02/11 07:58:28 jmc Exp $ +.\" $OpenBSD: sysctl.3,v 1.180 2008/05/06 15:12:00 mcbride Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: February 11 2008 $ +.Dd $Mdocdate: May 6 2008 $ .Dt SYSCTL 3 .Os .Sh NAME @@ -1192,10 +1192,12 @@ packets will not be processed. If set to any other value, processing will occur. Enabled by default. .It Li carp.log -If set to any value other than 0, +Controls the verbosity of .Xr carp 4 -will log errors. -Disabled by default. +logging. +May be a value between 0 and 7 corresponding with +.Xr syslog 3 priorities. +The default value is 2. .It Li carp.preempt If set to 0, .Xr carp 4 |