Add log filename to config

This commit is contained in:
jar3b
2016-03-15 12:59:33 +03:00
parent 255f895993
commit 356bcf74c4
4 changed files with 7 additions and 2 deletions

View File

@@ -9,9 +9,9 @@ except ImportError:
assert "No config"
# Define main app
phias_app = phias.App("pyphias.log")
phias_app = phias.App(config.basic.logfile)
# Define wsgi app
application = phias_app._app
application = phias_app.get_app()
# Run bottle WSGI server if no external
if __name__ == '__main__':