clist substreams; // simple_list of names
int microseconds; // Enable logging of precise timestamps
int syslog_pids;
+ int errors_fatal;
struct log_stream *ls;
int mark; // Used temporarily in log_config_commit()
};
CF_LIST("Substream", P(substreams), &cf_string_list_config),
CF_INT("Microseconds", P(microseconds)),
CF_INT("SyslogPID", P(syslog_pids)),
+ CF_INT("ErrorsFatal", P(errors_fatal)),
#undef P
CF_END
}
ls->levels = c->levels;
if (c->microseconds)
ls->msgfmt |= LSFMT_USEC;
+ if (c->errors_fatal)
+ ls->stream_flags |= LSFLAG_ERR_IS_FATAL;
c->ls = ls;
return ls;