]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Output log to debug, even without a logfile
authorAnders F Björklund <anders.f.bjorklund@gmail.com>
Sun, 12 Aug 2018 13:46:31 +0000 (15:46 +0200)
committerAnders F Björklund <anders.f.bjorklund@gmail.com>
Sun, 12 Aug 2018 13:46:31 +0000 (15:46 +0200)
src/ccache.c

index 4fd25505d3850c4b63ca05ca3feb4c7c4d776bc0..8292bf7ef7ec635d259a21cc78d11b7862fe8195 100644 (file)
@@ -3337,7 +3337,7 @@ ccache(int argc, char *argv[])
                clean_up_internal_tempdir();
        }
 
-       if (!str_eq(conf->log_file, "")) {
+       if (!str_eq(conf->log_file, "") || conf->debug) {
                conf_print_items(conf, configuration_logger, NULL);
        }