Update logging format

This commit is contained in:
David Němec 2021-03-05 17:52:29 +01:00
parent ef90e20d42
commit 17ebc43111
No known key found for this signature in database
GPG Key ID: B1064EFFFD11AA75

View File

@ -11,7 +11,11 @@ from pykeepass.exceptions import CredentialsError
from item import Item, Types as ItemTypes
logging.getLogger().setLevel(logging.INFO)
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s :: %(levelname)s :: %(message)s',
datefmt='%Y-%m-%d %H:%M:%S',
)
def bitwarden_to_keepass(args):