if (!strcmp(type, "all"))
for (i = 0; i < 32; ++i)
daemon_log_enable(s, outlet, i, enable);
+ else if (!strcmp(type, "fatal"))
+ daemon_log_enable(s, outlet, DAEMON_LOG_FATAL, enable);
+ else if (!strcmp(type, "error"))
+ daemon_log_enable(s, outlet, DAEMON_LOG_ERROR, enable);
+ else if (!strcmp(type, "warn"))
+ daemon_log_enable(s, outlet, DAEMON_LOG_WARN, enable);
+ else if (!strcmp(type, "warn"))
+ daemon_log_enable(s, outlet, DAEMON_LOG_INFO, enable);
else if (!strcmp(type, "wire"))
daemon_log_enable(s, outlet, DAEMON_LOG_WIRE, enable);
else if (!strcmp(type, "debug"))
daemon_log_enable(s, outlet, DAEMON_LOG_DEBUG, enable);
- else
- return 0;
return 1;
}