From 61c70a6fa956e7f8ae74952d0bda64a4688bd165 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 29 Jul 2022 11:42:32 +0200 Subject: [PATCH] feat: Log configuration file locations See #1127. --- src/ccache.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.47.3