--- /dev/null
+ o Minor bugfixes (logging):
+ - Don't log messages to stdout twice when starting up. Fixes bug
+ 13993; bugfix on 0.2.6.1-alpha.
+
if (! logfile_wants_message(lf, msg->severity, msg->domain))
continue;
+ /* We configure a temporary startup log that goes to stdout, so we
+ * shouldn't replay to stdout/stderr*/
+ if (lf->fd == STDOUT_FILENO || lf->fd == STDERR_FILENO) {
+ continue;
+ }
+
logfile_deliver(lf, msg->fullmsg, strlen(msg->fullmsg), msg->msg,
msg->domain, msg->severity, &callbacks_deferred);
}