Hi, I am running SuSE 7.3 and Firewall2. In my /var/log/messages I keep getting a bunch of firewall messages. How can I have these routed to a separate file? Thanks, arf -- Andy Fore arfore@arfore.com http://www.arfore.com "A computer is like an Old Testament god, with a lot of rules and no mercy." --- Joseph Campbell
Hi,
I am running SuSE 7.3 and Firewall2. In my /var/log/messages I keep getting a bunch of firewall messages. How can I have these routed to a separate file?
You can give the target for syslog messages in /etc/syslog.conf. See the manpages for iptables(8), syslogd(8) and syslog.conf(5). The firewall messages are logged at syslog level "warning", so all ither messages at this level will get into the other file, too. Robert
Hi Andy, you must edit your syslog.conf. You could add <--snap kern.* -/var/log/firewall.log --snap Ciao ;-) Robert Rottscholl - DE Andy Fore wrote:
Hi,
I am running SuSE 7.3 and Firewall2. In my /var/log/messages I keep getting a bunch of firewall messages. How can I have these routed to a separate file?
Thanks, arf
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 20, 2002 at 03:20:11PM +0100, Robert Rottscholl wrote:
you must edit your syslog.conf. You could add <--snap kern.* -/var/log/firewall.log --snap
I use kern.notice for fw-logging. Unfortunately isdn_net also use this level. Is it possible to log into localX (without compiling iptables) or a *seperate* file without using syslog? I heard something about the ULOG-usage but I found no useful documentation... - -- Cheers, Heiko Heil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE8me7KZ0LSdDsdJqERAvuzAKCzGC16T0Nirz4qR6fIIv9znzTmhwCg0icq UDmkHGS6vKuxbBUCXA0Kd0Q= =Ncbd -----END PGP SIGNATURE-----
participants (4)
-
Andy Fore
-
Heiko Heil
-
Robert Klein
-
Robert Rottscholl