diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index 6ad18c76..79869fb1 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -1881,6 +1881,9 @@ result_t MainLoop::executeInfo(const vector& args, const string& user, o << "conditional: " << m_messages->sizeConditional() << "\n" << "poll: " << m_messages->sizePoll() << "\n" << "update: " << m_messages->sizePassive(); + if (verbose) { + *ostream << "\nconfig path: " << m_scanHelper->getConfigPath(); + } m_busHandler->formatSeenInfo(ostream); return RESULT_OK; } diff --git a/src/ebusd/scan.h b/src/ebusd/scan.h index 6cb4d6c3..99d28fe9 100644 --- a/src/ebusd/scan.h +++ b/src/ebusd/scan.h @@ -66,6 +66,11 @@ class ScanHelper : public Resolver { */ virtual ~ScanHelper(); + /** + * @return the (optionally corrected) config path for retrieving configuration files from. + */ + const string getConfigPath() const { return m_configPath; } + /** * Try to connect to the specified server. * @param host the host name to connect to.