fix logging filename cleaner