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 07:01:10 +0000 (18:01 +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 7627fdd6ea1e55526536b80b706d756df81602fe..580686e2ba3445ec3684ee4dd65b03e3b5f5d680 100644 (file)
@@ -571,7 +571,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;