Of course!

------
Tip

Under RedHat and Mandriva, the max log level that is sent to the console is 
specified in /etc/sysconfig/init in the LOGLEVEL variable. Set 
“LOGLEVEL=5” to suppress info (log level 6) messages on the 
console.
------

It makes perfect sense now that I put two and two together! So if I 
configure Shorewall with level 6 (info) then setting LOGLEVEL=5 (notice in 
/etc/sysconfig/init) would suppress these to console. Your instructions 
state this clearly, but I just didn't put the two together.

So I changed /etc/sysconfig/init to LOGLEVEL=2 and even rebooted the 
machine. But these messages are still dumping to the console.

I've been using Shorewall for many years. In the last couple of months I 
upgraded my desktop to Fedora 7. Installed Shorewall first thing. But since 
now everything is in graphic mode (run level 5), I never noticed anything on 
the console because I never see it. But now that I put together a new server 
with CentOS-5 and changed it to runlevel 3, all Shorewall messages are 
directed to console. No other messages are dumped there, just Shorewall. If 
I log in from another box using SSH, no shorewall messages are seen. But as 
soon as I go back to the server room, Shorewall messages are scattered on 
the server's console (login prompt).

It's weired don't you think? Since it's a test box I'll send everything to 
/dev/null and see what happens.

Thanks again,
John


>J and T wrote:
> > Thanks for the reply Tom. All mine show log level 3
>
>Wait a minute -- if you have level 3 configured in Shorewall then you must
>set LOGLEVEL=2 in /etc/sysconfig/init in order to suppress the messages
>being written to the console.
>
>-Tom
>--
>Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
>Shoreline,     \ http://shorewall.net
>Washington USA  \ [EMAIL PROTECTED]
>PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key
>


><< signature.asc >>




>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >>  http://get.splunk.com/


>_______________________________________________
>Shorewall-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/shorewall-users

_________________________________________________________________
A new home for Mom, no cleanup required. All starts here. 
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to