On 23.01.2015 14:29, Gerhard Wiesinger wrote:
> Hello,
>
> I'm having a problem that I get doubled logs:
> Jan 23 14:22:05 fw kernel: [63639.395178] SW:net2fw: ....
> Jan 23 14:22:05 fw kernel: SW:net2fw: ...
>
> I read already FAQ and logging of shorewall and debugged rsyslog.
>
> It looks like that 2 messages are generated:
> 1.) via kernel logging (=> ends via $ModLoad imklog also in rsyslog)
> 2.) via syslog
>
> I know I can filter in rsyslog one of the messages. But I want to avoid
> the generation of the 2 messages.
>
> And: ULOG is due to IPv6 not an option
>
> Any ideas why 2 messages are generated and how to avoid?

Finally found out how to avoid it, now already on Fedora 22:

nano -w /etc/rsyslog.conf
# Comment the following lines
#$ModLoad imklog   # provides kernel logging support (previously done by 
rklogd)
systemctl restart rsyslog

Ciao,
Gerhard


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

Reply via email to