Skip to content

Commit

Permalink
Modify log4j2.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 committed Oct 25, 2023
1 parent 913c270 commit 467d4cf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions linkis-engineconn-plugins/repl/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@

<configuration status="error" monitorInterval="30">
<appenders>
<Console name="Console" target="SYSTEM_OUT">
<ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level [%t] %logger{36} %L %M [JobId-%X{jobId}] - %msg%xEx%n"/>
</Console>
<RollingFile name="RollingFile" append="true" fileName="${env:LOG_DIRS:-logs}/stdout"
filePattern="${env:LOG_DIRS}/$${date:yyyy-MM}/linkis-log-%d{yyyy-MM-dd-hh}-%i.log">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%-40t] %c{1.} (%L) [%M] [JobId-%X{jobId}] - %msg%xEx%n"/>
<Policies>
<SizeBasedTriggeringPolicy size="100MB"/>
</Policies>
<DefaultRolloverStrategy max="10"/>
</RollingFile>

<Send name="Send" >
<Filters>
Expand Down

0 comments on commit 467d4cf

Please sign in to comment.