diff --git a/DeviceInfo/DeviceInfo.cpp b/DeviceInfo/DeviceInfo.cpp index 6166808..b47b694 100644 --- a/DeviceInfo/DeviceInfo.cpp +++ b/DeviceInfo/DeviceInfo.cpp @@ -64,7 +64,7 @@ namespace Plugin { _deviceInfo = _service->Root(_connectionId, 2000, _T("DeviceInfoImplementation")); if (_deviceInfo == nullptr) { message = _T("DeviceInfo could not be instantiated"); - SYSLOG(Logging::Startup, (_T("DeviceInfo could not be instantiated"))); + SYSLOG(Logging::Activate, (_T("DeviceInfo could not be instantiated"))); } else { _deviceInfo->Configure(_service); _deviceAudioCapabilityInterface = _deviceInfo->QueryInterface(); diff --git a/DisplayInfo/DisplayInfo.cpp b/DisplayInfo/DisplayInfo.cpp index c81b813..43115c5 100644 --- a/DisplayInfo/DisplayInfo.cpp +++ b/DisplayInfo/DisplayInfo.cpp @@ -84,7 +84,7 @@ namespace Plugin { // if it hasn't been initialized. _displayProperties = _connectionProperties->QueryInterface(); if (_displayProperties == nullptr) { - SYSLOG(Logging::Startup, (_T("Display Properties service is unavailable."))); + SYSLOG(Logging::Activate, (_T("Display Properties service is unavailable."))); } else { Exchange::JDisplayProperties::Register(*this, _displayProperties); } diff --git a/LocationSync/LocationSync.cpp b/LocationSync/LocationSync.cpp index aa40d3d..33ec58c 100644 --- a/LocationSync/LocationSync.cpp +++ b/LocationSync/LocationSync.cpp @@ -281,7 +281,7 @@ POP_WARNING() _adminLock.Unlock(); Exchange::JTimeZone::Event::TimeZoneChanged(const_cast(static_cast(*this)), timezone); - SYSLOG(Logging::Startup, (_T("TimeZone change to \"%s\", local date time is now %s."), timezone.c_str(), Core::Time::Now().ToRFC1123(true).c_str())); + SYSLOG(Logging::Notification, (_T("TimeZone change to \"%s\", local date time is now %s."), timezone.c_str(), Core::Time::Now().ToRFC1123(true).c_str())); } void LocationSync::SetLocationSubsystem(PluginHost::ISubSystem& subsystem, bool update) /* cannot be const due to subsystem Set*/ { diff --git a/Monitor/Monitor.h b/Monitor/Monitor.h index 64843e9..1402239 100644 --- a/Monitor/Monitor.h +++ b/Monitor/Monitor.h @@ -710,7 +710,7 @@ POP_WARNING() restartWindow = element.Restart.Window; restartLimit = element.Restart.Limit; } - SYSLOG(Logging::Startup, (_T("Monitoring: %s (%d,%d)."), callSign.c_str(), (interval / 1000000), (memory / 1000000))); + SYSLOG(Logging::Activate, (_T("Monitoring: %s (%d,%d)."), callSign.c_str(), (interval / 1000000), (memory / 1000000))); if ((interval != 0) || (memory != 0)) { _monitor.emplace(std::piecewise_construct, diff --git a/OpenCDMi/FrameworkRPC.cpp b/OpenCDMi/FrameworkRPC.cpp index 4023744..9ce76bf 100644 --- a/OpenCDMi/FrameworkRPC.cpp +++ b/OpenCDMi/FrameworkRPC.cpp @@ -1293,7 +1293,7 @@ POP_WARNING() } } } else { - SYSLOG(Logging::Startup, (_T("Could not load factory [%s], error [%s]"), Core::File::FileNameExtended(entry.Current()).c_str(), library.Error().c_str())); + SYSLOG(Logging::Activate, (_T("Could not load factory [%s], error [%s]"), Core::File::FileNameExtended(entry.Current()).c_str(), library.Error().c_str())); result = Core::ERROR_OPENING_FAILED; } } @@ -1317,7 +1317,7 @@ POP_WARNING() _systemToFactory.insert(std::pair(designator, factory->second)); } else { - SYSLOG(Logging::Startup, (_T("Required factory [%s], not found for [%s]"), system.c_str(), designator.c_str())); + SYSLOG(Logging::Activate, (_T("Required factory [%s], not found for [%s]"), system.c_str(), designator.c_str())); result = Core::ERROR_OPENING_FAILED; } } @@ -1340,7 +1340,7 @@ POP_WARNING() } if (_systemToFactory.size() == 0) { - SYSLOG(Logging::Startup, (_T("No DRM factories specified. OCDM can not service any DRM requests."))); + SYSLOG(Logging::Activate, (_T("No DRM factories specified. OCDM can not service any DRM requests."))); } if ((config.Group.IsSet() == true) && (config.Group.Value().empty() == false)){ @@ -1371,7 +1371,7 @@ POP_WARNING() subSystem->Set(PluginHost::ISubSystem::DECRYPTION, this); } if (_systemToFactory.size() == 0) { - SYSLOG(Logging::Startup, (string(_T("OCDM server has NO key systems registered!!!")))); + SYSLOG(Logging::Activate, (string(_T("OCDM server has NO key systems registered!!!")))); } } } diff --git a/PlayerInfo/PlayerInfo.cpp b/PlayerInfo/PlayerInfo.cpp index 5701a08..518525b 100644 --- a/PlayerInfo/PlayerInfo.cpp +++ b/PlayerInfo/PlayerInfo.cpp @@ -71,7 +71,7 @@ namespace Plugin { // if it hasn't been initialized. _dolbyOut = _player->QueryInterface(); if (_dolbyOut == nullptr) { - SYSLOG(Logging::Startup, (_T("Dolby output switching service is unavailable."))); + SYSLOG(Logging::Activate, (_T("Dolby output switching service is unavailable."))); } else { _dolbyNotification.Initialize(_dolbyOut); Exchange::Dolby::JOutput::Register(*this, _dolbyOut); diff --git a/SecurityAgent/SecurityAgent.cpp b/SecurityAgent/SecurityAgent.cpp index b763a14..c771a3d 100644 --- a/SecurityAgent/SecurityAgent.cpp +++ b/SecurityAgent/SecurityAgent.cpp @@ -116,11 +116,11 @@ namespace Plugin { if (_acl.Load(aclFile) == Core::ERROR_INCOMPLETE_CONFIG) { AccessControlList::Iterator index(_acl.Unreferenced()); while (index.Next()) { - SYSLOG(Logging::Startup, (_T("Role: %s not referenced"), index.Current().c_str())); + SYSLOG(Logging::Activate, (_T("Role: %s not referenced"), index.Current().c_str())); } index = _acl.Undefined(); while (index.Next()) { - SYSLOG(Logging::Startup, (_T("Role: %s is undefined"), index.Current().c_str())); + SYSLOG(Logging::Activate, (_T("Role: %s is undefined"), index.Current().c_str())); } } } @@ -159,7 +159,7 @@ namespace Plugin { Core::SinkType information(callsign); if (subSystem->IsActive(PluginHost::ISubSystem::SECURITY) != false) { - SYSLOG(Logging::Startup, (_T("Security is not defined as External !!"))); + SYSLOG(Logging::Activate, (_T("Security is not defined as External !!"))); } subSystem->Set(PluginHost::ISubSystem::SECURITY, &information);