File nagios-4.3.1-remove-flooding-messages.patch of Package nagios

diff --git a/Changelog b/Changelog
index 17d4c2b..1e9c9f4 100644
--- a/Changelog
+++ b/Changelog
@@ -2,6 +2,12 @@
 Nagios Core 4 Change Log
 ########################
 
+x.x.x - xxxx-xx-xx
+------------------
+FIXED
+* Every 15sec /var/log/messages is flooded with "nagios: set_environment_var" (John Frickson)
+
+
 4.3.1 - 2017-02-23
 ------------------
 FIXES
diff --git a/base/utils.c b/base/utils.c
index 733fdef..19e20c7 100644
--- a/base/utils.c
+++ b/base/utils.c
@@ -872,9 +872,6 @@ int set_environment_var(char *name, char *value, int set) {
 
 	/* set the environment variable */
 	if(set == TRUE) {
-		log_debug_info(DEBUGL_EVENTS, 0, "set_environment_var '%s'='%s'\n", name, value);
-		syslog(LOG_DAEMON|LOG_INFO, "set_environment_var '%s'='%s'\n", name, value);
-
 #ifdef HAVE_SETENV
 		setenv(name, (value == NULL) ? "" : value, 1);
 #else