netfilter does not log correctly

Ed Street blacknet@phenixcable.net
Mon, 4 Jun 2001 11:13:07 -0400


Hello,

try this.

# ============================================================
# LOG level option.  NOTE klogd reflects these values for console broadcast
# Simply start klogd with -c 4 to ONLY display errors and above on the
console.

LOG_LEVEL="notice"

#define KERN_EMERG      "<0>"   /* system is unusable                   */
#define KERN_ALERT      "<1>"   /* action must be taken immediately     */
#define KERN_CRIT       "<2>"   /* critical conditions                  */
#define KERN_ERR        "<3>"   /* error conditions                     */
#define KERN_WARNING    "<4>"   /* warning conditions                   */
#define KERN_NOTICE     "<5>"   /* normal but significant condition     */
#define KERN_INFO       "<6>"   /* informational                        */
#define KERN_DEBUG      "<7>"   /* debug-level messages                 */
# ============================================================

Ed


-----Original Message-----
From: netfilter-admin@lists.samba.org
[mailto:netfilter-admin@lists.samba.org]On Behalf Of Jonas Diemer
Sent: Monday, June 04, 2001 10:07 AM
To: netfilter@lists.samba.org
Subject: netfilter does not log correctly


Hi!

Netfilter does not log. It logs directly to the console, when i set the
--log-level to warning. when I set it to info or debug, no logging happens
at all, although syslog logs messages like this:

logger -p user.debug "hello"

or

logger -p info "hello".


what's wrong?

-regars, Jonas


PS: CC me your response, i am not subscribed.