add nullhandler and rotatingfilehandler