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 a6a454b..3bd35f3 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 439eded..1f47a52 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,
                },
        },