Updated logging format
This commit is contained in:
parent
9b502d6196
commit
7faa6ac26d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user