In kernelextension.py and serverextension.py there are references to the sparkmonitor_kernelextension.log and sparkmonitor_serverextension.log files being created and logged to. It specifically mentions that it is for debugging the module. Can we get rid of the debug mode? These log files are cluttering all my folders... :P
fh = logging.FileHandler("sparkmonitor_serverextension.log", mode="w")
fh.setLevel(logging.DEBUG)
formatter = logging.Formatter(
"%(levelname)s: %(asctime)s - %(name)s - %(process)d - %(processName)s - \
%(thread)d - %(threadName)s\n %(message)s \n")
fh.setFormatter(formatter)
logger.addHandler(fh) ## Comment this line to disable logging to a file.```
In
kernelextension.py
andserverextension.py
there are references to thesparkmonitor_kernelextension.log
andsparkmonitor_serverextension.log
files being created and logged to. It specifically mentions that it is for debugging the module. Can we get rid of the debug mode? These log files are cluttering all my folders... :P