Add logging output.