converted OutputHandler to use the logger