如何在Objectify上启用DEBUG日志记录 [英] How to enable DEBUG logging on Objectify
本文介绍了如何在Objectify上启用DEBUG日志记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用客观化来管理Google数据存储区中的数据。但在某些情况下,我希望看到在我的密钥查询或查询过程中发生的调试跟踪。
我知道 App Stats 部署到GAE时。但是,有没有办法让某种 DEBUG
登录Objectify? 谢谢
解决方案
你可能在寻找类似记录器的东西吗?启用这个(对于Java)或这个(对于Python)可能是一个很好的解决方案。它会在devserver中记录到控制台,或者直接在生产中登录到管理控制台。
I am working with objectify to manage data in google datastore. But in some case i would like to see a debug trail of what happens during my Key lookup or a Query
I am aware of App Stats when deployed to GAE. But, is there a way to enable some sort of DEBUG
logging on Objectify?
Thank you
解决方案
Might you be looking at something like a logger? enabling this (for Java) or this (for Python) might be a good solution for you. It logs to your console in the devserver, or directly to your admin console in production
这篇关于如何在Objectify上启用DEBUG日志记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文