add redirection of loger messages