WA-14: Improve logger initialization