mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 03:05:34 +00:00
Log files
This commit is contained in:
parent
4e1ea6abb6
commit
46b527df4d
7
.gitignore
vendored
7
.gitignore
vendored
@ -47,12 +47,13 @@ tmp/
|
|||||||
|
|
||||||
# Grasscutter
|
# Grasscutter
|
||||||
resources/*
|
resources/*
|
||||||
|
logs/*
|
||||||
data/AbilityEmbryos.json
|
data/AbilityEmbryos.json
|
||||||
data/OpenConfig.json
|
data/OpenConfig.json
|
||||||
proto/auto/
|
proto/auto/
|
||||||
proto/protoc.exe
|
proto/protoc.exe
|
||||||
GM Handbook.txt
|
GM Handbook.txt
|
||||||
config.json
|
config.json
|
||||||
mitmdump.exe
|
mitmdump.exe
|
||||||
grasscutter.jar
|
grasscutter.jar
|
||||||
mongod.exe
|
mongod.exe
|
||||||
|
@ -4,8 +4,19 @@
|
|||||||
<pattern>[%d{HH:mm:ss}] [%highlight(%level)] %msg%n</pattern>
|
<pattern>[%d{HH:mm:ss}] [%highlight(%level)] %msg%n</pattern>
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||||
|
<file>logs/latest.log</file>
|
||||||
|
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||||
|
<fileNamePattern>logs/log.%d{yyyy-MM-dd}_%d{HH}.log.tar.gz</fileNamePattern>
|
||||||
|
<maxHistory>24</maxHistory>
|
||||||
|
</rollingPolicy>
|
||||||
|
<encoder>
|
||||||
|
<pattern>%d{yyyy-MM-dd'T'HH:mm:ss'Z'} - %m%n</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
<logger name="org.reflections" level="OFF"/>
|
<logger name="org.reflections" level="OFF"/>
|
||||||
<root level="INFO">
|
<root level="INFO">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
|
<appender-ref ref="FILE" />
|
||||||
</root>
|
</root>
|
||||||
</Configuration>
|
</Configuration>
|
Loading…
Reference in New Issue
Block a user