Several logger improvements.