Blame SOURCES/autofs-5.1.5-make-expire-remaining-log-level-debug.patch

c3f1f8
autofs-5.1.5 - make expire remaining log level debug
c3f1f8
c3f1f8
From: Ian Kent <raven@themaw.net>
c3f1f8
c3f1f8
The log message listing the remaining mounts should be log level
c3f1f8
debug not info.
c3f1f8
c3f1f8
Signed-off-by: Ian Kent <raven@themaw.net>
c3f1f8
---
c3f1f8
 CHANGELOG         |    1 +
c3f1f8
 daemon/direct.c   |    2 +-
c3f1f8
 daemon/indirect.c |    4 ++--
c3f1f8
 3 files changed, 4 insertions(+), 3 deletions(-)
c3f1f8
c3f1f8
--- autofs-5.1.4.orig/CHANGELOG
c3f1f8
+++ autofs-5.1.4/CHANGELOG
c3f1f8
@@ -50,6 +50,7 @@ xx/xx/2018 autofs-5.1.5
c3f1f8
 - add mount_verbose configuration option.
c3f1f8
 - optionally log mount requestor process info.
c3f1f8
 - log mount call arguments if mount_verbose is set.
c3f1f8
+- make expire remaining log level debug.
c3f1f8
 
c3f1f8
 19/12/2017 autofs-5.1.4
c3f1f8
 - fix spec file url.
c3f1f8
--- autofs-5.1.4.orig/daemon/direct.c
c3f1f8
+++ autofs-5.1.4/daemon/direct.c
c3f1f8
@@ -990,7 +990,7 @@ void *expire_proc_direct(void *arg)
c3f1f8
 	pthread_cleanup_pop(1);
c3f1f8
 
c3f1f8
 	if (left)
c3f1f8
-		info(ap->logopt, "%d remaining in %s", left, ap->path);
c3f1f8
+		debug(ap->logopt, "%d remaining in %s", left, ap->path);
c3f1f8
 
c3f1f8
 	ec.status = left;
c3f1f8
 
c3f1f8
--- autofs-5.1.4.orig/daemon/indirect.c
c3f1f8
+++ autofs-5.1.4/daemon/indirect.c
c3f1f8
@@ -578,7 +578,7 @@ void *expire_proc_indirect(void *arg)
c3f1f8
 	pthread_cleanup_pop(1);
c3f1f8
 
c3f1f8
 	if (submnts)
c3f1f8
-		info(ap->logopt,
c3f1f8
+		debug(ap->logopt,
c3f1f8
 		     "%d submounts remaining in %s", submnts, ap->path);
c3f1f8
 
c3f1f8
 	/* 
c3f1f8
@@ -586,7 +586,7 @@ void *expire_proc_indirect(void *arg)
c3f1f8
 	 * words) the umounts are done by the time we reach here
c3f1f8
 	 */
c3f1f8
 	if (count)
c3f1f8
-		info(ap->logopt, "%d remaining in %s", count, ap->path);
c3f1f8
+		debug(ap->logopt, "%d remaining in %s", count, ap->path);
c3f1f8
 
c3f1f8
 	ec.status = left;
c3f1f8