--- ppp-git-8d694241/pppd/options.c	2013-09-13 15:43:26.000000000 +0200
+++ src/pppd/options.c	2014-01-17 11:32:54.021391199 +0100
@@ -1097,6 +1097,15 @@
     if (phase == PHASE_INITIALIZE)
 	fprintf(stderr, "%s: %s\n", progname, buf);
     syslog(LOG_ERR, "%s", buf);
+    if (log_to_fd >= 0) {
+	int n = strlen(buf);
+
+	if (n > 0 && buf[n-1] == '\n')
+	    --n;
+	if (write(log_to_fd, buf, n) != n
+	    || write(log_to_fd, "\n", 1) != 1)
+	    log_to_fd = -1;
+    }
 }
 
 #if 0
