Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to stop auto log writing by other function in python

logger = logging.getLogger('my-logger')
logger.propagate = False
# now if you use logger it will not log to console.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #stop #auto #log #writing #function #python
ADD COMMENT
Topic
Name
4+9 =