We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a597663 commit 105384bCopy full SHA for 105384b
src/Logger.cxx
@@ -34,8 +34,9 @@ void Logger::setFacility(std::string facility)
34
ILContext context;
35
context.setField(ILContext::FieldName::System, "FLP");
36
context.setField(ILContext::FieldName::Facility, facility);
37
- Logger::instance().mLogger.setContext(context);
38
- Logger::get() << "Facility set: " << facility << LogDebugTrace << endm;
+ Logger::instance(facility).mLogger.setContext(context);
+ // may flood infologger
39
+ //Logger::get() << "Facility set: " << facility << LogDebugTrace << endm;
40
}
41
42
Logger& Logger::instance(std::string facility)
0 commit comments