Google App Engine日志级别如何运作?

时间:2013-03-02 12:25:20

标签: google-app-engine

这对我来说毫无意义:

代码

Logger l = Logger.getLogger("SomeClassName");
l.log(Level.SEVERE, "-------start------");      
l.log(Level.INFO, "INFO Two... Two...");
l.log(Level.WARNING, "WARNING Two... Two...");
l.log(Level.SEVERE, "SEVERE Two... Two...");
l.log(Level.CONFIG, "CONFIG Two... Two...");
l.log(Level.FINEST, "FINEST Two... Two...");
l.log(Level.OFF, "OFF Two... Two...");
System.out.println("CONSOLE Two... Two...");
l.log(Level.SEVERE, "-------end------");

结果

AppEngine log screenshot

“关闭”是什么导致“错误”,“INFO”根本没有被记录?此外,the documentation表示Console-output也应记录为INFO。没发生。

0 个答案:

没有答案