def clear_handlers(logger):
for h in logger.handlers:<EOL><INDENT>logger.removeHandler(h)<EOL><DEDENT>
clean out handlers in the library top level logger 

    (only important for reload/debug cycles...)