Hi,

  in RHEL6/CentOS6 ulogd is not available, so I use this rsyslog rule:

# cat /etc/rsyslog.d/10-shorewall.conf

if $syslogfacility-text == 'kern' and $msg contains 'Shorewall' then
/var/log/shorewall/shorewall.log
& ~

Best regards,
-- 
Karel Ziegler

 e-mail:    [email protected]

On Wed, Feb 20, 2013 at 4:14 PM, Roland RoLaNd <[email protected]>wrote:

>
> All,
>
> I'm trying to get shorewall to log into a separate file.
> at the moment it's spilling it's guts into /var/log/messages
>
> i've done the following:
>
>  cat /etc/rsyslog.d/shorewall.conf
> :msg, startswith, "Shorewall:" -/var/log/shorewall.log
> & ~
>
> and restarted rsyslog, the file gets created but nothing is logged. even
> though at the same time var/log/messages is getting filled with logs.
>
> Any advice?
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to