Skip to content

Commit

Permalink
Merge pull request #3220 from jamierocks/log-space
Browse files Browse the repository at this point in the history
Include space in log entries
  • Loading branch information
Riley Park authored Dec 2, 2020
2 parents ed8ab4c + 3547358 commit e507531
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions vanilla/src/applaunch/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<PatternLayout pattern="%highlight{[%d{HH:mm:ss}] [%t/%level] [%c{1.3}/%markerSimpleName]: %msg%n}"/>
</Console>
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level]:%msg%n"/>
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level]: %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<OnStartupTriggeringPolicy/>
</Policies>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="DebugFile" fileName="logs/debug.log" filePattern="logs/debug-%i.log.gz">
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level] [%c{1.3}/%markerSimpleName]:%msg%n"/>
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level] [%c{1.3}/%markerSimpleName]: %msg%n"/>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="200MB"/>
Expand Down
6 changes: 3 additions & 3 deletions vanilla/src/installer/resources/log4j2_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<Configuration status="warn">
<Appenders>
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="%highlight{[%d{HH:mm:ss}] [%t/%level]:%msg%n}"/>
<PatternLayout pattern="%highlight{[%d{HH:mm:ss}] [%t/%level]: %msg%n}"/>
</Console>
<RollingRandomAccessFile name="File" fileName="logs/latest_launcher.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level]:%msg%n"/>
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level]: %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<OnStartupTriggeringPolicy/>
</Policies>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="DebugFile" fileName="logs/debug_launcher.log" filePattern="logs/debug_launcher-%i.log.gz">
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level]:%msg%n"/>
<PatternLayout pattern="[%d{ddMMMyyyy HH:mm:ss}] [%t/%level]: %msg%n"/>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="200MB"/>
Expand Down

0 comments on commit e507531

Please sign in to comment.