Home | History | Annotate | Download | only in mrouted

Lines Matching refs:severity

79 void logit(int severity, int syserr, const char *format, ...)
624 * according to the severity of the message and the current debug level.
625 * For errors of severity LOG_ERR or worse, terminate the program.
628 logit(int severity, int syserr, const char *format, ...)
641 msg = (severity == LOG_WARNING) ? fmt : &fmt[10];
645 case 1: if (severity > LOG_NOTICE) break;
647 case 2: if (severity > LOG_INFO ) break;
662 if (severity <= LOG_NOTICE) {
666 syslog(severity, "%s: %m", msg);
668 syslog(severity, "%s", msg);
671 if (severity <= LOG_ERR) exit(1);