fix debut output issue after dispose logfile instance