mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
fix logging format
This commit is contained in:
parent
0719f68028
commit
d6fe693c4d
@ -17,7 +17,7 @@ def download(url):
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
logging.basicConfig(format='%(asctime)s [%(levelname)s] %(msg)s', datefmt='%FT%T', level='INFO')
|
||||
logging.basicConfig(format='%(asctime)s [%(levelname)s] %(message)s', datefmt='%FT%T', level='INFO')
|
||||
logging.info('connect redis')
|
||||
rdb = redis.StrictRedis(host='redis', password=os.getenv('PASSWORD'))
|
||||
rdb.ping()
|
||||
|
Loading…
Reference in New Issue
Block a user