On Mon, 30 Apr 2001 at 7:06pm (-0700), roy wrote:
> I want every thing except local7.* going into my one file. I tried the
> following statement (and others) and think it should work, but it doesn't.
> I'm still getting local4 stuff in messages. I also have local4 directed to
> another files altogether and it works fine. I just can't seem to keep it
> from coming. I'm -HUP'ing syslogd.
>
>
> local4.none;*.debug /var/log/messages
>
I would say that the *.debug is resulting in local4.debug messages being
sent to /var/log/messages. I have not seen explicit documenation to say the
the options are parsed left to right using the last match but it makes sence
to me. Try...
*.debug;local4.none /var/log/messages
... I think. For instance my messages file is configured as...
# Log anything (except kernel.info or mail) of level info or higher.
*.info;kern.!=info;mail.none /var/log/messages
... which seems to work for me. Also, in your message you say local7 but in
your example you say local4 - could you have got them mixed up somewhere in
your config file?
M.
--
WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road. Network Operations - Systems Engineer
PO Box 4169, East Brisbane. phone: +61 7 3249 2500
Queensland, Australia. pgp key id: 0x900E515F
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list