[Monica, Ronald] do not send mails in PRD and fix logging config during tests