[CP-371] Updater miscelanous developer mode and logs changes

Changed:
- Runtime disabled logs which didn't add value from ServiceDesktop
- Runtime disabled logs which didn't add value from SystemManager
- Added possibility to change runtime logging levels
- Integrated ServiceDesktop developer code a bit - it might be used
  as virtual base with little to no modifications for other endpoints
  which would result with less redundant code
This commit is contained in:
Adam Dobrowolski
2021-07-15 15:14:15 +02:00
committed by Marek Niepiekło
parent afe316f825
commit cb93d58d85
25 changed files with 227 additions and 94 deletions

View File

@@ -190,7 +190,7 @@ namespace sys
LOG_INFO("Order of system services initialization:");
for (const auto &service : sortedServices) {
LOG_INFO("\t> %s", service.get().getName().c_str());
LOG_DEBUG("\t> %s", service.get().getName().c_str());
}
std::for_each(sortedServices.begin(), sortedServices.end(), [this](const auto &service) {
const auto startTimeout = service.get().getStartTimeout().count();