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

查看:108
本文介绍了Google App Engine - 配置默认记录器以发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的GAE / J应用程序中,我将如何配置默认记录器以通过电子邮件报告错误? 一个SMTPHandler已经存在,但不能用于GAE / J,因为依赖性不足。查看 SMTPHandler 的源代码并将其修改为GAE / J。


In my GAE/J application, how would I configure the default logger to report errors via email?

解决方案

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天全站免登陆