Google App Engine - 配置默认记录器以发送电子邮件 [英] Google App Engine - Configure default logger to send email

查看:29
本文介绍了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.

这篇关于Google App Engine - 配置默认记录器以发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆