From aa115d00ffa362ff339be5c825ec8612cf3da6fc Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Wed, 4 Jan 2017 10:59:07 +0100 Subject: [PATCH] policycoreutils/restorecond: Decrease loglevel of termination message Decrease loglevel of termination message (eg. "restorecond[709]: terminated") to LOG_INFO because it is printed upon normal shutdown of the daemon. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1264505 Signed-off-by: Vit Mojzis --- restorecond/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restorecond/watch.c b/restorecond/watch.c index 2be45d4f..691df824 100644 --- a/restorecond/watch.c +++ b/restorecond/watch.c @@ -179,7 +179,7 @@ int watch(int fd, const char *watch_file) syslog(LOG_ERR, "Read error (%s)", strerror(errno)); return 0; } - syslog(LOG_ERR, "terminated"); + syslog(LOG_INFO, "terminated"); return -1; } else if (!len) /* BUF_LEN too small? */