网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

slf4j-simple的配置-创新互联

slf4j-simple是一款日志框架

成都创新互联是一家网站设计公司,集创意、互联网应用、软件技术为一体的创意网站建设服务商,主营产品:响应式网站开发品牌网站制作成都营销网站建设。我们专注企业品牌在网站中的整体树立,网络互动的体验,以及在手机等移动端的优质呈现。做网站、网站制作、移动互联产品、网络运营、VI设计、云产品.运维为核心业务。为用户提供一站式解决方案,我们深知市场的竞争激烈,认真对待每位客户,为客户提供赏析悦目的作品,网站的价值服务。

它既可通过VM arguments来配置也可通过在classpath放置simplelogger.properties文件来配置

通过VM arguments来配置:

在classpath放置simplelogger.properties文件来配置:

 1 # SLF4J's SimpleLogger configuration file
 2 # Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
 3 
 4 # Default logging detail level for all instances of SimpleLogger.
 5 # Must be one of ("trace", "debug", "info", "warn", or "error").
 6 # If not specified, defaults to "info".
 7 #org.slf4j.simpleLogger.defaultLogLevel=info
 8 
 9 # Logging detail level for a SimpleLogger instance named "xxxxx".
10 # Must be one of ("trace", "debug", "info", "warn", or "error").
11 # If not specified, the default logging detail level is used.
12 #org.slf4j.simpleLogger.log.xxxxx=
13 
14 # Set to true if you want the current date and time to be included in output messages.
15 # Default is false, and will output the number of milliseconds elapsed since startup.
16 #org.slf4j.simpleLogger.showDateTime=false
17 
18 # The date and time format to be used in the output messages.
19 # The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
20 # If the format is not specified or is invalid, the default format is used.
21 # The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
22 #org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
23 
24 # Set to true if you want to output the current thread name.
25 # Defaults to true.
26 #org.slf4j.simpleLogger.showThreadName=true
27 
28 # Set to true if you want the Logger instance name to be included in output messages.
29 # Defaults to true.
30 #org.slf4j.simpleLogger.showLogName=true
31 
32 # Set to true if you want the last component of the name to be included in output messages.
33 # Defaults to false.
34 #org.slf4j.simpleLogger.showShortLogName=false

文章标题:slf4j-simple的配置-创新互联
网站地址:http://bjjierui.cn/article/dpdpgg.html

其他资讯