summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorshoward <showard@592f7852-d20e-0410-864c-8624ca9c26a4>2009-01-16 03:07:38 +0000
committershoward <showard@592f7852-d20e-0410-864c-8624ca9c26a4>2009-01-16 03:07:38 +0000
commit236d5b605f703186c96270cda4493f224cec24c4 (patch)
tree8b26ee1f77e46b5baccb278063f0b3ef6bb36380 /frontend
parentdc74977d6b413cf1f968751c992571a181fda990 (diff)
Make sure the debug messages from models get printed while the scheduler is running. The log level got changed during the scalability work and this was disabling output of these important status change messages,
Signed-off-by: Steve Howard <showard@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@2657 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'frontend')
-rw-r--r--frontend/afe/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/afe/models.py b/frontend/afe/models.py
index 29da5e4e..66c68d91 100644
--- a/frontend/afe/models.py
+++ b/frontend/afe/models.py
@@ -226,7 +226,7 @@ class Host(model_logic.ModelWithInvalid, dbmodels.Model):
def on_attribute_changed(self, attribute, old_value):
assert attribute == 'status'
- logger.debug(self.hostname + ' -> ' + self.status)
+ logger.info(self.hostname + ' -> ' + self.status)
def enqueue_job(self, job):
@@ -749,7 +749,7 @@ class HostQueueEntry(dbmodels.Model, model_logic.ModelExtensions):
def on_attribute_changed(self, attribute, old_value):
assert attribute == 'status'
- logger.debug('%s/%d (%d) -> %s' % (self.host, self.job.id, self.id,
+ logger.info('%s/%d (%d) -> %s' % (self.host, self.job.id, self.id,
self.status))