slf4j-simple的配置-創(chuàng)新互聯(lián)

slf4j-simple是一款日志框架

成都創(chuàng)新互聯(lián)是一家網(wǎng)站設(shè)計(jì)公司,集創(chuàng)意、互聯(lián)網(wǎng)應(yīng)用、軟件技術(shù)為一體的創(chuàng)意網(wǎng)站建設(shè)服務(wù)商,主營(yíng)產(chǎn)品:響應(yīng)式網(wǎng)站開(kāi)發(fā)品牌網(wǎng)站制作、成都營(yíng)銷網(wǎng)站建設(shè)。我們專注企業(yè)品牌在網(wǎng)站中的整體樹(shù)立,網(wǎng)絡(luò)互動(dòng)的體驗(yàn),以及在手機(jī)等移動(dòng)端的優(yōu)質(zhì)呈現(xiàn)。做網(wǎng)站、網(wǎng)站制作、移動(dòng)互聯(lián)產(chǎn)品、網(wǎng)絡(luò)運(yùn)營(yíng)、VI設(shè)計(jì)、云產(chǎn)品.運(yùn)維為核心業(yè)務(wù)。為用戶提供一站式解決方案,我們深知市場(chǎng)的競(jìng)爭(zhēng)激烈,認(rèn)真對(duì)待每位客戶,為客戶提供賞析悅目的作品,網(wǎng)站的價(jià)值服務(wù)。

它既可通過(guò)VM arguments來(lái)配置也可通過(guò)在classpath放置simplelogger.properties文件來(lái)配置

通過(guò)VM arguments來(lái)配置:

在classpath放置simplelogger.properties文件來(lái)配置:

 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的配置-創(chuàng)新互聯(lián)
當(dāng)前鏈接:http://bm7419.com/article16/dpdpgg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站設(shè)計(jì)自適應(yīng)網(wǎng)站、關(guān)鍵詞優(yōu)化標(biāo)簽優(yōu)化、做網(wǎng)站、電子商務(wù)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)