Replies: 2 comments 2 replies
-
There is an essential difference between the
If you want the name of the log file and folder to match, use only <RollingRandomAccessFile name="FILE"
filename="${env:LOG_PATH:-${LOG_HOME}/${MODULE_NAME}}/${MODULE_NAME}.log"
filepattern="${env:LOG_PATH:-${LOG_HOME}/${MODULE_NAME}}/%d{yyyy-MM-dd}/${MODULE_NAME}.log.%d{yyyy-MM-dd-HH}-%03i.log">
...
</RollingRandomAccessFile> Mixing |
Beta Was this translation helpful? Give feedback.
2 replies
-
Ok! Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
0点日志归档到错误目录下
Configuration
Version: 2.20.0
Operating system: Windows10
JDK: JDK17
Beta Was this translation helpful? Give feedback.
All reactions