From 80485e438268251f734936139d8239c59f70de54 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 17 Jun 2009 20:56:52 +0000 Subject: change the log level of disk full message in dht-diskusage the current msg is getting printed in warning level. Instead changed it to debug, as the msg specific each node being full is already getting printed in higher priority, hence this msg looks excessive. Signed-off-by: Anand V. Avati --- xlators/cluster/dht/src/dht-diskusage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/cluster/dht/src/dht-diskusage.c') diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c index 561e5d518..dd92f7dda 100644 --- a/xlators/cluster/dht/src/dht-diskusage.c +++ b/xlators/cluster/dht/src/dht-diskusage.c @@ -191,7 +191,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol) if (subvol_filled) { if (!(conf->du_stats[i].log++ % GF_UNIVERSAL_ANSWER)) { - gf_log (this->name, GF_LOG_CRITICAL, + gf_log (this->name, GF_LOG_WARNING, "disk space on subvolume '%s' is getting " "full (%.2f %%), consider adding more nodes", subvol->name, @@ -228,8 +228,8 @@ dht_free_disk_available_subvol (xlator_t *this, xlator_t *subvol) avail_subvol = subvol; if (avail_subvol == subvol) { - gf_log (this->name, GF_LOG_WARNING, - "No subvolume has enough free space to create"); + gf_log (this->name, GF_LOG_DEBUG, + "no subvolume has enough free space to create"); } return avail_subvol; -- cgit