Register LogHandler before the other handlers