diff options
Diffstat (limited to 'src/stats.c')
-rw-r--r-- | src/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c index d8b15c01..ef6a2914 100644 --- a/src/stats.c +++ b/src/stats.c @@ -389,7 +389,7 @@ stats_flush(void) stats_write(stats_file, counters); lockfile_release(stats_file); - if (!str_eq(conf->log_file, "")) { + if (!str_eq(conf->log_file, "") || conf->debug) { for (int i = 0; i < STATS_END; ++i) { if (counter_updates->data[stats_info[i].stat] != 0 && !(stats_info[i].flags & FLAG_NOZERO)) { |