-
Hi there, |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
Welp, I suppose I just had to reach out for help before I figured it out. For anyone else, here is what I did:
|
Beta Was this translation helpful? Give feedback.
Welp, I suppose I just had to reach out for help before I figured it out. For anyone else, here is what I did:
add log4j2.xml to application/conf with the following (open to suggestion if this can be improved...):
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="INFO"> <Appenders> <RollingFile name="fileLogger" fileName="./application.log" filePattern="./app-%d{yyyy-MM-dd}.log"> <PatternLayout> <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n </pattern> </PatternLayout> <Policies> <TimeBasedTriggeringPolicy interval="1" modulate="true" /> <SizeBasedTriggeringPolicy size="10MB" /> </Policies> </RollingFile> </Appenders> <Loggers> <Root level="error"> <append…