Dear developers,

i use logging module in mod_python environment
according to the following standard scheme:

logger = logging.getLogger(logger_name)

fh = logging.FileHandler(log_path)
logger.addHandler(fh)



and after some http server idle time i get 2 identical records in the log file,
3 records, ..., 5 records, ...
until i restart   httpd

Probably, this happens because Python VM is unloaded but
logger facilities remains living somewhere inside Apache, and next time
VM is started i _add another file handler with the same name_ .

Sincerely,
Alex

Reply via email to