Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

logger format

formatter = logging.Formatter('[%(asctime)s] p%(process)s {%(pathname)s:%(lineno)d} %(levelname)s - %(message)s','%m-%d %H:%M:%S')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #logger #format
ADD COMMENT
Topic
Name
8+8 =