Logger-related bug fix.