Chapter 9. Jetty Logging

docs.huihoo.com · · 2501 次点击 · · 开始浏览    
这是一个创建于 的文章,其中的信息可能已经有所发展或是发生改变。
<name>.LEVEL=<level>Sets the logging level for all loggers within the name specified to the level, which can be (in increasing order of restriction) ALL, DEBUG, INFO, WARN, OFF. The name (or hierarchy) can be a specific fully qualified class or a package namespace, for example, -Dorg.eclipse.jetty.http.LEVEL=DEBUG is a package namespace approach to turn all loggers in the jetty HTTP package to DEBUG level, and -Dorg.eclipse.jetty.io.ChanelEndPoint.LEVEL=ALL turns on all logging events for the specific class, including DEBUG, INFO, WARN (and even special internally ignored exception classes). If more than one system property specifies a logging level, the most specific one applies.<name>.SOURCE=<boolean>Logger specific, attempts to print the Java source file name and line number from where the logging event originated. Name must be a fully qualified class name (package name hierarchy is not supported by this configurable). Default is false. Be aware that this is a slow operation and has an impact on performance!<name>.STACKS=<boolean>Logger specific, controls the display of stacktraces. Name must be a fully qualified class name (package name hierarchy is not supported by this configurable). Default is true.org.eclipse.jetty.util.log.IGNORED=<boolean>If set to true, exceptions that have been recorded as ignored with the LOG.ignore(throwable) API are logged with a full stack trace. Otherwise ignored exceptions are either not logged, or logged in summary if the level is debug.org.eclipse.jetty.util.log.stderr.SOURCE=<boolean>Special Global Configuration. Attempts to print the Java source file name and line number from where the logging event originated. Default is false.org.eclipse.jetty.util.log.stderr.LONG=<boolean>Special Global Configuration. When true, outputs logging events to STDERR using long form, fully qualified class names. When false, uses abbreviated package names. Default is false.

DEPRECATED:

org.eclipse.jetty.util.log.DEBUG

org.eclipse.jetty.util.log.stderr.DEBUG

DEBUG

These are deprecated properties from older Jetty versions that are now ignored with a warning if used.

本文来自:docs.huihoo.com

感谢作者:docs.huihoo.com

查看原文:Chapter 9. Jetty Logging

2501 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传