Skip to content

Commit

Permalink
Merge pull request #253 from diging/develop
Browse files Browse the repository at this point in the history
log4j configs
  • Loading branch information
jdamerow authored Sep 9, 2021
2 parents be93fa3 + 43e8fec commit 8e10d39
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vspace/src/main/resources/log4j.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
<param name="ConversionPattern" value="%d{dd MMM yyyy HH:mm:ss,SSS} %-5p: %c - %m%n" />
</layout>
</appender>
<appender name="FILE" class="org.apache.log4j.FileAppender">
<param name="file" value="logs/vspace.log"/>
<param name="immediateFlush" value="true"/>

<layout class="org.apache.log4j.PatternLayout">
<param name="conversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n"/>
</layout>
</appender>

<!-- Application Loggers -->
<logger name="edu.asu.diging">
Expand Down Expand Up @@ -47,6 +55,7 @@
<root>
<priority value="warn" />
<appender-ref ref="console" />
<appender-ref ref="FILE" />
</root>

</log4j:configuration>

0 comments on commit 8e10d39

Please sign in to comment.