Timestamp log entries

master
mandlm 2020-06-11 10:44:36 +02:00
parent e97494ec81
commit 47294c4e7a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ from netifaces import interfaces, ifaddresses, AF_INET6
from ipaddress import ip_address from ipaddress import ip_address
from time import sleep 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") log = logging.getLogger("ddns updater")