Use NullHandler instead of basicConfig
Fixed issue: callback function will be called twice