Google App Engine - 配置默认记录器以发送电子邮件
在我的 GAE/J 应用程序中,如何配置默认记录器以通过电子邮件报告错误?
In my GAE/J application, how would I configure the default logger to report errors via email?
推荐答案
一个 SMTPHandler 已经存在,但由于不满足的依赖关系,不能与 GAE/J 一起使用.看一下SMTPHandler的源码,适配GAE/J.
An SMTPHandler already exists, but cannot be used with GAE/J because of unsatisfied dependencies. Take a look at the source code of SMTPHandler and adapt it to GAE/J.
相关文章