| 28 | } |
| 29 | |
| 30 | void JournaldLogger::OnConfigLoaded() |
| 31 | { |
| 32 | ObjectImpl<JournaldLogger>::OnConfigLoaded(); |
| 33 | m_ConfiguredJournalFields.clear(); |
| 34 | m_ConfiguredJournalFields.push_back( |
| 35 | String("SYSLOG_FACILITY=") + Value(SyslogHelper::FacilityToNumber(GetFacility()))); |
| 36 | const String identifier = GetIdentifier(); |
| 37 | if (!identifier.IsEmpty()) { |
| 38 | m_ConfiguredJournalFields.push_back(String("SYSLOG_IDENTIFIER=" + identifier)); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | void JournaldLogger::ValidateFacility(const Lazy<String>& lvalue, const ValidationUtils& utils) |
| 43 | { |