优化日志打印样式
parent
94edd95824
commit
eac72fd06e
|
@ -263,7 +263,7 @@ public class ZLMHttpHookListener {
|
|||
}
|
||||
|
||||
// 国标流
|
||||
if ("rtp".equals(param.getApp())) {
|
||||
if ("rtp".equals(param.getApp()) ) {
|
||||
String ssrc = String.format("%010d", Long.parseLong(param.getStream(), 16));
|
||||
InviteInfo inviteInfo = inviteStreamService.getInviteInfoBySSRC(ssrc);
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<property name="LOG_HOME" value="logs" />
|
||||
|
||||
<substitutionProperty name="log.pattern"
|
||||
value="%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr([%thread]) %clr(%5p) %clr(---){faint} %clr(%logger{50}){cyan} %clr(:) %clr(%L){faint} %m%n%wEx"/>
|
||||
value="%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr([%thread]) %clr(%5p) %clr(---){faint} %clr(%logger{50}){cyan}%clr(:) %clr(%L){cyan} %m%n%wEx"/>
|
||||
<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter"/>
|
||||
<conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter"/>
|
||||
<conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter"/>
|
||||
|
@ -86,7 +86,7 @@
|
|||
|
||||
|
||||
<!-- 日志输出级别 -->
|
||||
<root level="DEBUG">
|
||||
<root level="INFO">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
|
||||
|
|
Loading…
Reference in New Issue