logging tidy up
This commit is contained in:
@@ -135,7 +135,9 @@ publisher = Publisher(app.logger)
|
||||
if __name__ == "__main__":
|
||||
sh = logging.StreamHandler(sys.stdout)
|
||||
sh.setLevel(logging.INFO)
|
||||
app.logger.addHandler(sh)
|
||||
fmt = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
#sh.setFormatter(fmt)
|
||||
#app.logger.addHandler(sh)
|
||||
app.logger.setLevel(logging.INFO)
|
||||
app.logger.info('Payment gateway {}'.format(PAYMENT_GATEWAY))
|
||||
port = int(os.getenv("SHOP_PAYMENT_PORT", "8080"))
|
||||
|
Reference in New Issue
Block a user