Revised some logging output.