summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2014-08-20 21:45:32 +0500
committerSunil Nimmagadda <sunil@nimmagadda.net>2014-08-20 21:45:32 +0500
commit66a429c7c9fc3b167160b2d9b82d418e8accde8d (patch)
tree19d0a212f0654ff6607517197285c0f9a84ed0d6
parent5ee656f6eaeb749c3391fb7de801d46b0934f2a4 (diff)
Prepend session id to the log message.
-rw-r--r--maildrop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maildrop.c b/maildrop.c
index 20081c7..12861f7 100644
--- a/maildrop.c
+++ b/maildrop.c
@@ -112,7 +112,7 @@ maildrop_init(uint32_t session_id, int pair[2], struct passwd *pw,
if (event_dispatch() < 0)
fatal("event_dispatch");
- logit(LOG_INFO, "maildrop process exiting");
+ logit(LOG_INFO, "%zu: maildrop process exiting", session_id);
_exit(0);
}