[icinga-checkins] icinga.org: icinga2/master: API: Change log level for console endpoint

git at icinga.org git at icinga.org
Thu Dec 8 01:01:14 CET 2016


Module: icinga2
Branch: master
Commit: b10a6b75a81d46e8b100099180502e230ffed894
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=b10a6b75a81d46e8b100099180502e230ffed894

Author: Michael Friedrich <michael.friedrich at icinga.com>
Date:   Thu Dec  8 00:59:24 2016 +0100

API: Change log level for console endpoint

fixes #11329

---

 lib/remote/consolehandler.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/remote/consolehandler.cpp b/lib/remote/consolehandler.cpp
index 3b1a7a1..af3883e 100644
--- a/lib/remote/consolehandler.cpp
+++ b/lib/remote/consolehandler.cpp
@@ -99,7 +99,7 @@ bool ConsoleHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& reques
 bool ConsoleHandler::ExecuteScriptHelper(HttpRequest& request, HttpResponse& response,
     const String& command, const String& session, bool sandboxed)
 {
-	Log(LogInformation, "Console")
+	Log(LogNotice, "Console")
 	    << "Executing expression: " << command;
 
 	ApiScriptFrame& lsf = l_ApiScriptFrames[session];



More information about the icinga-checkins mailing list