Merge pull request #6306 from Icinga/feature/checkresultreader-deprecated

Adjust message for CheckResultReader deprecation
This commit is contained in:
Michael Friedrich 2018-05-15 14:05:16 +02:00 committed by GitHub
commit 04af51b866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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();