Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jeffrey Laramie <JALaramie@Loudoun-Fairfax.com>
To: Stephen Smoogen <smoogen@lanl.gov>
Cc: akshaysalkar <akshaysalkar@indiatimes.com>,
	netfilter@lists.netfilter.org
Subject: Re: putting all logs in a file
Date: Wed, 10 Sep 2003 11:11:42 -0400	[thread overview]
Message-ID: <3F5F3F2E.70102@Loudoun-Fairfax.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0309100644040.15305-100000@cic-mail.lanl.gov>

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]



Stephen Smoogen wrote:

>You can change the log level with the --log-level addtion to any -j LOG 
>lines
>
>LOG_LEVEL="local1"
>-j LOG --log-level ${LOG_LEVEL} --log-prefix " Blah "
>
>Then have local1 in /etc/syslog.conf go to /var/log/iptables.log
>  
>

I also wanted to do this, so I tried it and iptables balked with:

iptables v1.2.7a: log-level 'local1' unknown

I checked my syslog.h file and found that 'local1' was an alias for the 
LOG_LOCAL1 facility and not defined as a priority (log level). Suggestions?

Jeff

[-- Attachment #2: Type: text/html, Size: 924 bytes --]

  reply	other threads:[~2003-09-10 15:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10 11:29 putting all logs in a file akshaysalkar
2003-09-10 12:45 ` Stephen Smoogen
2003-09-10 15:11   ` Jeffrey Laramie [this message]
2003-09-10 15:39     ` Stephen Smoogen
2003-09-10 17:53       ` Jeffrey Laramie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F5F3F2E.70102@Loudoun-Fairfax.com \
    --to=jalaramie@loudoun-fairfax.com \
    --cc=akshaysalkar@indiatimes.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=smoogen@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox