Small fix for logging