adjust a vacuum log level
authorChristian Ambach <christian.ambach@de.ibm.com>
Wed, 10 Mar 2010 17:46:15 +0000 (18:46 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 11 Mar 2010 06:55:23 +0000 (17:55 +1100)
made the severity of the decreasing interval log level the same as for the increasing,
they are both just info logs because they don't report errors

server/ctdb_vacuum.c

index 98be294495e5be0b6339c336601d49f88c21bb72..7b91664fcc9a6df2681b87e8cb5279275a1893b2 100644 (file)
@@ -564,7 +564,7 @@ static int update_tuning_db(struct ctdb_db_context *ctdb_db, struct vacuum_data
                                tdata.new_interval > ctdb_db->ctdb->tunable.vacuum_max_interval) {
                                tdata.new_interval = ctdb_db->ctdb->tunable.vacuum_min_interval;
                        }               
-                       DEBUG(DEBUG_ERR,("Decreasing vacuum interval %u -> %u for %s\n", 
+                       DEBUG(DEBUG_INFO,("Decreasing vacuum interval %u -> %u for %s\n", 
                                         tdata.last_interval, tdata.new_interval, ctdb_db->db_name));
                }
                tdata.last_interval = tdata.new_interval;