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