LogHandler cleanup