Bring back logging level setting

This commit is contained in:
Arik Fraimovich 2014-02-09 21:03:24 +02:00
parent 009726c62d
commit 373b9c6a97

View File

@ -65,4 +65,8 @@ def drop_tables():
manager.add_command("database", database_manager) manager.add_command("database", database_manager)
if __name__ == '__main__': if __name__ == '__main__':
channel = logging.StreamHandler()
logging.getLogger().addHandler(channel)
logging.getLogger().setLevel(settings.LOG_LEVEL)
manager.run() manager.run()