flush all loggers before exiting on keyboard interrupt (ctrl-c/SIGINT)
expanded test.py to be configurable via config file & renamed to logger.py