At 2002/3/25 22:52-0500 Joey Hess writes: > > Changing this would be a real PITA as every program that uses syslog > would have to be recompiled. > > I take it you mean this example: > > int mask = LOG_MASK (LOG_ERR | LOG_USER); > ... > result = setlogmask(mask); > > I'm not sure what they're trying to do here, since LOG_USER is a > facility, not a priority level. Anyway, I don't see any examples that > show or'ing together of two priority levels.
Hmm. it says that further syslog calls will be accepted if they are error messages or produced by arbitary process. But you're right in that this isn't an example of what you were talking about and a change to allow it would be major pain. Regards, Chris -- [EMAIL PROTECTED] IBM OzLabs Linux Development Group Canberra, Australia -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with subject of "unsubscribe". Trouble? Email [EMAIL PROTECTED]
