Blob Blame History Raw
From 54b0679719bf82e25b2b007a32f26b1654912fa2 Mon Sep 17 00:00:00 2001
From: Steve Grubb <sgrubb@redhat.com>
Date: Tue, 26 Jan 2021 15:07:05 -0500
Subject: [PATCH] Add startup and shutdown syslog message

---
 ChangeLog              | 1 +
 src/daemon/fapolicyd.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/daemon/fapolicyd.c b/src/daemon/fapolicyd.c
index e0e01ae..55e085d 100644
--- a/src/daemon/fapolicyd.c
+++ b/src/daemon/fapolicyd.c
@@ -491,7 +491,7 @@ int main(int argc, const char *argv[])
 	pfd[1].fd = init_fanotify(&config, m);
 	pfd[1].events = POLLIN;
 
-	msg(LOG_DEBUG, "Starting to listen for events");
+	msg(LOG_INFO, "Starting to listen for events");
 	while (!stop) {
 		rc = poll(pfd, 2, -1);
 
@@ -526,7 +526,7 @@ int main(int argc, const char *argv[])
 #endif
 		}
 	}
-	msg(LOG_DEBUG, "shutting down...");
+	msg(LOG_INFO, "shutting down...");
 	shutdown_fanotify(m);
 	close(pfd[0].fd);
 	mlist_clear(m);