Modify log filename.