9 lines
215 B
Python
9 lines
215 B
Python
import logging as log
|
|
|
|
# Set the logging level to DEBUG (most verbose) at the root logger
|
|
log.basicConfig(
|
|
level=log.INFO,
|
|
format='%(asctime)s [%(levelname)s] %(message)s',
|
|
datefmt='%Y-%m-%d %H:%M:%S'
|
|
)
|