Made logger protected.