beego: fix log output when SetLogger has error