Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
dff860e2
Commit
dff860e2
authored
Apr 22, 2022
by
Melledy
Committed by
GitHub
Apr 22, 2022
Browse files
Merge pull request #104 from 4Benj/development
Log files
parents
1862da3f
46b527df
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitignore
View file @
dff860e2
...
@@ -47,6 +47,7 @@ tmp/
...
@@ -47,6 +47,7 @@ tmp/
# Grasscutter
# Grasscutter
resources/*
resources/*
logs/*
data/AbilityEmbryos.json
data/AbilityEmbryos.json
data/OpenConfig.json
data/OpenConfig.json
proto/auto/
proto/auto/
...
...
src/main/resources/logback.xml
View file @
dff860e2
...
@@ -4,8 +4,19 @@
...
@@ -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>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment