From 5cacb212e965e7188221dedc2377a4bcee784165 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Thu, 1 Jun 2023 19:57:14 +0200 Subject: [PATCH] Minor enhancement to syslog pilerimport parameters Signed-off-by: Janos SUTO --- src/pilerimport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pilerimport.c b/src/pilerimport.c index 87cd3847..fae13e93 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -408,7 +408,7 @@ int main(int argc, char **argv){ update_counters(&sdata, &data, &counters, &cfg); - syslog(LOG_PRIORITY, "imported=%lld, duplicated=%lld, discarded=%lld", counters.c_rcvd, counters.c_duplicate, counters.c_ignore); + syslog(LOG_PRIORITY, "server=%s, user=%s, directory=%s, imported=%lld, duplicated=%lld, discarded=%lld", data.import->server, data.import->username, directory, counters.c_rcvd, counters.c_duplicate, counters.c_ignore); close_database(&sdata);