Commit 40e8e0a2 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Change some log levels

parent 4e138236
......@@ -189,15 +189,15 @@ class RabbitMQInstance(models.Model):
# PUBLIC API
def register_site(self, site):
logger.info(self.msg('register: {} / {}'.format(
site.name, site.client.username)))
logger.info(self.msg('register: {}'.format(
print_client(site.client))))
self.create_user(site)
self.set_permissions(site)
self.set_topic_permissions(site)
def update_site(self, site):
self.set_topic_permissions(site)
logger.debug(self.msg('updated permissions for {}'.format(
logger.info(self.msg('updated permissions for {}'.format(
print_client(site.client))))
def deregister_site(self, site):
......@@ -418,7 +418,7 @@ class Deployment(models.Model):
key=key,
)
task.save()
logger.info(task.msg('generated'))
logger.debug(task.msg('generated'))
# generate task items
for site in self.service.site.all():
......@@ -451,7 +451,7 @@ class Deployment(models.Model):
key=key,
)
task.save()
logger.info(task.msg('generated'))
logger.debug(task.msg('generated'))
# generate task items
for site in self.service.site.all():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment