DEBUG: Logging output improved.