Hi Alexander,

On 2006-11-24T10:50, Alexander Farber wrote:
> Then I've added a second "!" and moved those 2 lines to
> the top of /etc/syslog.conf:
> 
>        !!pref
>        *.*                                                    /var/log/pref
> 
> Now no messages at all are written into /var/log/messages :-/
> 
> Can anyone please give me a hint?

read man syslog.conf

!!prog causes the subsequent block to abort evaluation when a message
matches, ensuring that only a single set of actions is taken.  !* can be
used to ensure that any ensuing blocks are further evaluated (i.e. can-
celling the effect of a !prog or !!prog).

hth,

Marcus.

Reply via email to