This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- the env variables are controlled by Chef and passed in via -D on the java command-line --> | |
<!-- This is using the appender here: https://github.com/t0xa/gelfj --> | |
<appender name="graylog2" class="org.graylog2.log.GelfAppender"> | |
<param name="graylogHost" value="${graylog.server}"/> | |
<param name="originHost" value="${graylog.origin}"/> | |
<param name="extractStacktrace" value="true"/> | |
<param name="addExtendedInformation" value="true"/> | |
<!-- The _web part is because a given app has multiple components --> | |
<!-- This app might have a _web as well as an _batch component --> | |
<param name="facility" value="${graylog.facility}_web"/> |