From baa8e5cc2ba2ecba43cd18ffd9ef66a945325d6b Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 7 Sep 2013 21:22:37 -0600 Subject: [PATCH] Display Build-Info in cache manager info report This info can be quite useful for tracking which patched build of Squid is being used to produce the report. --- src/stat.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stat.cc b/src/stat.cc index 94e800e4fd..59db7e56a2 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -673,6 +673,8 @@ DumpInfo(Mgr::InfoActionData& stats, StoreEntry* sentry) storeAppendPrintf(sentry, "Squid Object Cache: Version %s\n", version_string); + storeAppendPrintf(sentry, "Build Info: " SQUID_BUILD_INFO "\n"); + #if _SQUID_WINDOWS_ if (WIN32_run_mode == _WIN_SQUID_RUN_MODE_SERVICE) { storeAppendPrintf(sentry,"\nRunning as %s Windows System Service on %s\n", -- 2.47.2