mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6306 from Icinga/feature/checkresultreader-deprecated
Adjust message for CheckResultReader deprecation
This commit is contained in:
commit
04af51b866
|
@ -777,7 +777,8 @@ in `/var/log/icinga2/compat`. Rotated log files are moved into
|
||||||
## Check Result Files <a id="check-result-files"></a>
|
## Check Result Files <a id="check-result-files"></a>
|
||||||
|
|
||||||
> **Note**
|
> **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.11.
|
||||||
|
|
||||||
Icinga 1.x writes its check result files to a temporary spool directory
|
Icinga 1.x writes its check result files to a temporary spool directory
|
||||||
where they are processed in a regular interval.
|
where they are processed in a regular interval.
|
||||||
|
|
|
@ -60,8 +60,9 @@ void CheckResultReader::Start(bool runtimeCreated)
|
||||||
|
|
||||||
Log(LogInformation, "CheckResultReader")
|
Log(LogInformation, "CheckResultReader")
|
||||||
<< "'" << GetName() << "' started.";
|
<< "'" << GetName() << "' started.";
|
||||||
|
|
||||||
Log(LogWarning, "CheckResultReader")
|
Log(LogWarning, "CheckResultReader")
|
||||||
<< "The CheckResultReader feature is deprecated and will be removed with Icinga 2.10.0";
|
<< "The CheckResultReader feature is DEPRECATED and will be removed in Icinga v2.11.";
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
m_ReadTimer = new Timer();
|
m_ReadTimer = new Timer();
|
||||||
|
|
Loading…
Reference in New Issue