First attempt at emitting logstash style logs.
This commit is contained in:
parent
37507b7d7d
commit
c13654bb52
8 changed files with 51 additions and 47 deletions
|
@ -350,7 +350,7 @@ def populate_database():
|
|||
metadata={'token_code': 'somecode', 'repo': 'orgrepo'})
|
||||
|
||||
if __name__ == '__main__':
|
||||
logging.basicConfig(**app.config['LOGGING_CONFIG'])
|
||||
app.config['LOGGING_CONFIG']()
|
||||
initialize_database()
|
||||
|
||||
if app.config.get('POPULATE_DB_TEST_DATA', False):
|
||||
|
|
Reference in a new issue