如何停止在终端上获取DEBUG消息?

时间:2012-07-18 07:17:20

标签: grails

DEBUG: Resource: /fancybox/fancybox-y.png - disposition image - rendering disposition defer

DEBUG: Resource: /fancybox/fancy_title_over.png - disposition image - rendering disposition 
defer

DEBUG: Resource: /images/shadow.png - disposition image - rendering disposition defer

DEBUG: Resource: /js/jquery-ui/themes/cupertino/images/ui-bg_highlight-
hard_100_f2f5f7_1x100.png - disposition image - rendering disposition defer
DEBUG: Resource: /js/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png - disposition image - rendering disposition defer

DEBUG: Resource: /js/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png - disposition image - rendering disposition defer

DEBUG: Resource: /js/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png - disposition image - rendering disposition defer

我想停止这个

  

DEBUG 消息

每次我浏览我的应用程序。有什么东西需要检查才能阻止这个吗?对此问题的任何解决方案都将不胜感激。谢谢!提前。

1 个答案:

答案 0 :(得分:2)

在您使用的任何记录器中,从DEBUG将记录器级别配置设置为INFO(请参阅Common Log Levels)。如果是grails内置日志记录,您可能需要在log4j部分中检入Config.groovy文件