Skip to content

Commit

Permalink
Update log file
Browse files Browse the repository at this point in the history
  • Loading branch information
hexiaofeng committed Nov 29, 2024
1 parent f8ed86a commit 497fe3e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions joylive-package/src/main/assembly/config/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<property scope="context" name="logger.dir" value="${LIVE_LOG_DIR}"/>
<property scope="context" name="logger.application" value="${LIVE_APP_NAME}"/>
<property scope="context" name="logger.level" value="${LIVE_LOG_LEVEL:-info}"/>
<property scope="context" name="logger.advice.level" value="${LIVE_LOG_ADVICE_LEVEL:-${logger.level}"/>
<property scope="context" name="logger.totalSize" value="${LIVE_LOG_TOTAL_SIZE:-10GB}"/>
<property scope="context" name="logger.maxHistory" value="${LIVE_LOG_MAX_HISTORY:-30}"/>
<property scope="context" name="logger.maxFileSize" value="${LIVE_LOG_MAX_SIZE:-1GB}"/>
Expand All @@ -41,17 +42,14 @@
<maxFileSize>${logger.maxFileSize}</maxFileSize>
<totalSizeCap>${logger.totalSize}</totalSizeCap>
</rollingPolicy>
<filter class="com.jd.live.agent.shaded.ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
</filter>
<encoder>
<pattern>
${LIVE_LOG_FILE_PATTERN}
</pattern>
</encoder>
</appender>

<logger name="com.jd.live.agent.bootstrap.bytekit.advice.AdviceHandler" level="${logger.level}"/>
<logger name="com.jd.live.agent.bootstrap.bytekit.advice.AdviceHandler" level="${logger.advice.level}"/>

<root level="${logger.level}">
<appender-ref ref="${LIVE_LOG_APPENDER:-ROLLING_APPENDER}"/>
Expand Down

0 comments on commit 497fe3e

Please sign in to comment.