From: Michael Friedrich Date: Tue, 15 May 2018 08:44:06 +0000 (+0200) Subject: Adjust message for CheckResultReader deprecation X-Git-Tag: v2.9.0~56^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ead3f0a227d505e6c908cc6fef897171db6bd2c1;p=icinga2 Adjust message for CheckResultReader deprecation refs #6031 --- diff --git a/doc/14-features.md b/doc/14-features.md index aa0206078..d7a41a289 100644 --- a/doc/14-features.md +++ b/doc/14-features.md @@ -777,7 +777,8 @@ in `/var/log/icinga2/compat`. Rotated log files are moved into ## Check Result Files > **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 where they are processed in a regular interval. diff --git a/lib/compat/checkresultreader.cpp b/lib/compat/checkresultreader.cpp index 8b0d733a2..016248765 100644 --- a/lib/compat/checkresultreader.cpp +++ b/lib/compat/checkresultreader.cpp @@ -60,8 +60,9 @@ void CheckResultReader::Start(bool runtimeCreated) Log(LogInformation, "CheckResultReader") << "'" << GetName() << "' started."; + 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 m_ReadTimer = new Timer();