Timestamp log entries
This commit is contained in:
parent
e97494ec81
commit
47294c4e7a
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue