Updated logging format
This commit is contained in:
parent
9b502d6196
commit
7faa6ac26d
@ -132,7 +132,11 @@ def get_default_path(filename):
|
||||
|
||||
def main():
|
||||
# Logger - set to logging.INFO for production
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s [%(levelname)s] %(message)s",
|
||||
datefmt="%Y-%m-%d %H:%M:%S"
|
||||
)
|
||||
|
||||
# String constants
|
||||
default_secret_file = ".credentials.secret"
|
||||
|
Loading…
Reference in New Issue
Block a user