Updated logging for consistency.