From: Joel Rosdahl Date: Fri, 29 Jul 2022 09:42:32 +0000 (+0200) Subject: feat: Log configuration file locations X-Git-Tag: v4.7~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61c70a6fa956e7f8ae74952d0bda64a4688bd165;p=thirdparty%2Fccache.git feat: Log configuration file locations See #1127. --- diff --git a/src/ccache.cpp b/src/ccache.cpp index 17c0ed0ca..bc5ae3091 100644 --- a/src/ccache.cpp +++ b/src/ccache.cpp @@ -1994,6 +1994,9 @@ initialize(Context& ctx, int argc, const char* const* argv) LOG("=== CCACHE {} STARTED =========================================", CCACHE_VERSION); + LOG("Primary configuration file: {}", ctx.config.primary_config_path()); + LOG("Secondary configuration file: {}", ctx.config.secondary_config_path()); + if (getenv("CCACHE_INTERNAL_TRACE")) { #ifdef MTR_ENABLED ctx.mini_trace = std::make_unique(ctx.args_info);