logfile name depending on port
This commit is contained in:
@ -115,7 +115,7 @@ class Server:
|
||||
|
||||
app.debug = True
|
||||
|
||||
logging.basicConfig(filename='logifle.log', filemode='w', level=logging.INFO,
|
||||
logging.basicConfig(filename=f'logfile{port}.log', filemode='w', level=logging.INFO,
|
||||
format='%(asctime)s %(levelname)s %(message)s')
|
||||
|
||||
# srv = gevent.wsgi.WSGIServer(('', port), app, keyfile='key.key', certfile='key.crt')
|
||||
|
Reference in New Issue
Block a user