Timestamp log entries

This commit is contained in:
mandlm 2020-06-11 10:44:36 +02:00
parent e97494ec81
commit 47294c4e7a

View File

@ -9,7 +9,7 @@ from netifaces import interfaces, ifaddresses, AF_INET6
from ipaddress import ip_address
from time import sleep
logging.basicConfig(level=logging.INFO)
logging.basicConfig(level=logging.INFO, format="%(asctime)-15s - %(name)s %(levelname)-8s: %(message)s")
log = logging.getLogger("ddns updater")