aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-07-15 17:10:17 +0100
committerDavid Howells <dhowells@redhat.com>2011-07-15 17:10:17 +0100
commite616bbd13dbd654989e83595e3420557a9b52e67 (patch)
tree969cb85a6583cc537cbb17ecf1766abb2771077b
parente353e46554276ebab0be1f8d939871ed852c5fc3 (diff)
downloadcachefilesd-e616bbd13dbd654989e83595e3420557a9b52e67.tar.gz
Change the culling info messages to debug level
Change the culling info messages to debug level so as not to fill up the disk space with logs. Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--cachefilesd.c6
-rw-r--r--redhat/cachefilesd.spec3
2 files changed, 6 insertions, 3 deletions
diff --git a/cachefilesd.c b/cachefilesd.c
index c1c49fa..9bbed70 100644
--- a/cachefilesd.c
+++ b/cachefilesd.c
@@ -1322,7 +1322,7 @@ dir_read_complete:
scan = curr->parent;
if (!scan) {
- info("Scan complete");
+ debug(1, "Scan complete");
decant_cull_table();
}
@@ -1368,7 +1368,7 @@ static void decant_cull_table(void)
if (oldest_ready == -1) {
copy = oldest_build + 1;
- info("Decant (all %d)", copy);
+ debug(1, "Decant (all %d)", copy);
n = copy * sizeof(cullready[0]);
memcpy(cullready, cullbuild, n);
@@ -1392,7 +1392,7 @@ static void decant_cull_table(void)
copy = space;
leave = avail - copy;
- info("Decant (%d/%d to %d)", copy, avail, space);
+ debug(1, "Decant (%d/%d to %d)", copy, avail, space);
/* make a hole in the ready table transfer "copy" elements from the end
* of cullbuild (oldest) to the beginning of cullready (youngest)
diff --git a/redhat/cachefilesd.spec b/redhat/cachefilesd.spec
index 9f44515..4f16b02 100644
--- a/redhat/cachefilesd.spec
+++ b/redhat/cachefilesd.spec
@@ -83,6 +83,9 @@ fi
%{_localstatedir}/cache/fscache
%changelog
+* Fri Jul 15 2011 David Howells <dhowells@redhat.com>
+- Downgrade all the culling messages to debug level [RH BZ 660347].
+
* Fri Jun 18 2010 David Howells <dhowells@redhat.com>
- Fix the initscript to have the appropriate parseable description and exit codes.