logfilehandler bugfix