Regression: fix error with logging.