netfilter: ipt_LOG/ip6t_LOG: use more appropriate log level as default
authorPatrick McHardy <kaber@trash.net>
Thu, 15 Apr 2010 17:09:01 +0000 (19:09 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 15 Apr 2010 17:09:01 +0000 (19:09 +0200)
Use KERN_NOTICE instead of KERN_EMERG by default. This only affects
kernel internal logging (like conntrack), user-specified logging rules
contain a seperate log level.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ipt_LOG.c
net/ipv6/netfilter/ip6t_LOG.c

index a6a454b25502e72398cb83d5c9760747ae4c585e..3bd35f3708172a0ab45e97687842d05744e2e05a 100644 (file)
@@ -367,7 +367,7 @@ static struct nf_loginfo default_loginfo = {
        .type   = NF_LOG_TYPE_LOG,
        .u = {
                .log = {
-                       .level    = 0,
+                       .level    = 5,
                        .logflags = NF_LOG_MASK,
                },
        },
index 439ededd5300c7d692542362806be8c45b309a96..1f47a525f48416effce0bdfa19ae0fc0ee0cf36d 100644 (file)
@@ -377,7 +377,7 @@ static struct nf_loginfo default_loginfo = {
        .type   = NF_LOG_TYPE_LOG,
        .u = {
                .log = {
-                       .level    = 0,
+                       .level    = 5,
                        .logflags = NF_LOG_MASK,
                },
        },