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 /share/man | |
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 'share/man')
-rw-r--r-- | share/man/man4/carp.4 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4 index ae3c0413133..bdeaa33aff1 100644 --- a/share/man/man4/carp.4 +++ b/share/man/man4/carp.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: carp.4,v 1.30 2008/02/11 07:58:28 jmc Exp $ +.\" $OpenBSD: carp.4,v 1.31 2008/05/06 15:12:00 mcbride Exp $ .\" .\" Copyright (c) 2003, Ryan McBride. All rights reserved. .\" @@ -23,7 +23,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 CARP 4 .Os .Sh NAME @@ -112,10 +112,13 @@ interfaces. See also the first example. Disabled by default. .It net.inet.carp.log -Log bad +Make .Nm -packets. -Disabled by default. +log state changes, bad packets, and other errors. +May be a value between 0 and 7 corresponding with +.Xr syslog 3 +priorities. +The default value is 2, which limits logging to changes in CARP state. .El .Sh LOAD BALANCING .Nm |