diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fetchmail.c b/fetchmail.c index 47133a93..03af1481 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1258,11 +1258,12 @@ static int query_host(struct query *ctl) { int i, st; - if (outlevel >= O_VERBOSE) + /* + * If we're syslogging the progress messages are automatically timestamped. + * Force timestamping if we're going to a logfile. + */ + if (outlevel >= O_VERBOSE || run.logfile) { - time_t now; - - time(&now); report(stdout, _("%s querying %s (protocol %s) at %s\n"), VERSION, ctl->server.pollname, |