Updated logging format

This commit is contained in:
Anon 2022-09-29 00:33:01 -07:00
parent 9b502d6196
commit 7faa6ac26d

View File

@ -132,7 +132,11 @@ def get_default_path(filename):
def main(): def main():
# Logger - set to logging.INFO for production # 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 # String constants
default_secret_file = ".credentials.secret" default_secret_file = ".credentials.secret"