From: eric Date: Fri, 19 Aug 2016 15:35:08 +0000 (+0000) Subject: make smtpd less verbose at startup X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2f742ef66175227020ace530308e21349507868d;p=openbsd make smtpd less verbose at startup ok gilles@ sunil@ jung@ millert@ --- diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index b510c295346..f2060208efd 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.279 2016/06/20 20:26:04 gilles Exp $ */ +/* $OpenBSD: smtpd.c,v 1.280 2016/08/19 15:35:08 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -709,7 +709,7 @@ main(int argc, char *argv[]) setup_done(p_queue); setup_done(p_scheduler); - log_info("smtpd: setup done"); + log_debug("smtpd: setup done"); return smtpd(); } @@ -871,7 +871,7 @@ setup_done(struct mproc *p) if (imsg.hdr.type != IMSG_SETUP_DONE) fatalx("expect IMSG_SETUP_DONE"); - log_info("setup_done: %s[%d] done", p->name, p->pid); + log_debug("setup_done: %s[%d] done", p->name, p->pid); imsg_free(&imsg); } @@ -920,7 +920,7 @@ setup_proc(void) if (imsg_flush(ibuf) == -1) fatal("imsg_flush"); - log_info("setup_proc: %s done", proc_title(smtpd_process)); + log_debug("setup_proc: %s done", proc_title(smtpd_process)); } static struct mproc * @@ -928,7 +928,7 @@ setup_peer(enum smtp_proc_type proc, pid_t pid, int sock) { struct mproc *p, **pp; - log_info("setup_peer: %s -> %s[%u] fd=%d", proc_title(smtpd_process), + log_debug("setup_peer: %s -> %s[%u] fd=%d", proc_title(smtpd_process), proc_title(proc), pid, sock); if (sock == -1)