Skip to content

Commit

Permalink
hotfix defaults.xml - incude STASH.xml only if LOGSTASH_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed May 16, 2017
1 parent 400151f commit 1c6a78e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/resources/de/metas/ui/web/logging/defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@
<springProperty scope="context" name="LOGSTASH_ENABLED" source="logstash.enabled" defaultValue="false" />

<!-- Include the config for a logstash appender; see https://github.com/metasfresh/metasfresh/issues/1504 -->
<include resource="de/metas/ui/web/logging/STASH.xml" />

<if condition='Boolean.parseBoolean(property("LOGSTASH_ENABLED"))'>
<then>
<include resource="de/metas/ui/web/logging/STASH.xml" />
</then>
</if>

<!-- Configure root logger -->
<root level="INFO">
Expand Down

0 comments on commit 1c6a78e

Please sign in to comment.