mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6295 from Icinga/feature/deprecate-compatlog
Deprecate compatlog feature
This commit is contained in:
commit
b641197361
|
@ -738,7 +738,8 @@ A detailed list on the available table attributes can be found in the [Livestatu
|
|||
## Status Data Files <a id="status-data"></a>
|
||||
|
||||
> **Note**
|
||||
> This feature is deprecated and will be removed with Icinga 2.10.0
|
||||
>
|
||||
> This feature is DEPRECATED and will be removed in Icinga 2 v2.10.
|
||||
|
||||
Icinga 1.x writes object configuration data and status data in a cyclic
|
||||
interval to its `objects.cache` and `status.dat` files. Icinga 2 provides
|
||||
|
@ -752,6 +753,10 @@ you can safely disable this feature.
|
|||
|
||||
## Compat Log Files <a id="compat-logging"></a>
|
||||
|
||||
> **Note**
|
||||
>
|
||||
> This feature is DEPRECATED and will be removed in Icinga 2 v2.10.
|
||||
|
||||
The Icinga 1.x log format is considered being the `Compat Log`
|
||||
in Icinga 2 provided with the `CompatLogger` object.
|
||||
|
||||
|
|
|
@ -63,6 +63,9 @@ void CompatLogger::Start(bool runtimeCreated)
|
|||
Log(LogInformation, "CompatLogger")
|
||||
<< "'" << GetName() << "' started.";
|
||||
|
||||
Log(LogWarning, "CompatLogger")
|
||||
<< "The CompatLogger feature is DEPRECATED and will be removed in Icinga v2.10.";
|
||||
|
||||
Checkable::OnNewCheckResult.connect(std::bind(&CompatLogger::CheckResultHandler, this, _1, _2));
|
||||
Checkable::OnNotificationSentToUser.connect(std::bind(&CompatLogger::NotificationSentHandler, this, _1, _2, _3, _4, _5, _6, _7, _8));
|
||||
Downtime::OnDowntimeTriggered.connect(std::bind(&CompatLogger::TriggerDowntimeHandler, this, _1));
|
||||
|
|
|
@ -78,7 +78,7 @@ void StatusDataWriter::Start(bool runtimeCreated)
|
|||
<< "'" << GetName() << "' started.";
|
||||
|
||||
Log(LogWarning, "StatusDataWriter")
|
||||
<< "The StatusDataWriter feature is deprecated and will be removed with Icinga 2.10.0";
|
||||
<< "The StatusDataWriter feature is DEPRECATED and will be removed in Icinga v2.10.";
|
||||
|
||||
m_ObjectsCacheOutdated = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue