From 29f111a22fe574eaa6938bf0bd3516796abe597d Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Tue, 21 Apr 2009 19:39:24 +0530 Subject: log message cleanup in distribute Signed-off-by: Anand V. Avati --- xlators/cluster/dht/src/dht.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xlators/cluster/dht/src/dht.c') diff --git a/xlators/cluster/dht/src/dht.c b/xlators/cluster/dht/src/dht.c index 4dac7301ec9..21f468b8560 100644 --- a/xlators/cluster/dht/src/dht.c +++ b/xlators/cluster/dht/src/dht.c @@ -86,20 +86,20 @@ init (xlator_t *this) int i = 0; if (!this->children) { - gf_log (this->name, GF_LOG_ERROR, - "DHT needs more than one child defined"); + gf_log (this->name, GF_LOG_CRITICAL, + "Distribute needs more than one subvolume"); return -1; } if (!this->parents) { gf_log (this->name, GF_LOG_WARNING, - "dangling volume. check volfile "); + "dangling volume. check volfile"); } conf = CALLOC (1, sizeof (*conf)); if (!conf) { gf_log (this->name, GF_LOG_ERROR, - "memory allocation failed :("); + "Out of memory"); goto err; } @@ -141,7 +141,7 @@ init (xlator_t *this) conf->du_stats = CALLOC (conf->subvolume_cnt, sizeof (dht_du_t)); if (!conf->du_stats) { gf_log (this->name, GF_LOG_ERROR, - "memory allocation failed :("); + "Out of memory"); goto err; } -- cgit