|
|
@@ -7,8 +7,17 @@
|
|
|
</appender>
|
|
|
|
|
|
<appender name="GRAYLOG" class="de.siegmar.logbackgelf.GelfTcpAppender">
|
|
|
- <graylogHost>192.168.1.250</graylogHost>
|
|
|
-<!-- <graylogHost>172.24.144.227</graylogHost>-->
|
|
|
+ <springProfile name="prod">
|
|
|
+ <graylogHost>172.24.144.227</graylogHost>
|
|
|
+ </springProfile>
|
|
|
+
|
|
|
+ <springProfile name="test">
|
|
|
+ <graylogHost>172.24.144.227</graylogHost>
|
|
|
+ </springProfile>
|
|
|
+
|
|
|
+ <springProfile name="dev">
|
|
|
+ <graylogHost>192.168.1.250</graylogHost>
|
|
|
+ </springProfile>
|
|
|
<graylogPort>12201</graylogPort>
|
|
|
<includeMdcData>true</includeMdcData>
|
|
|
<extractStackTrace>true</extractStackTrace>
|
|
|
@@ -16,7 +25,7 @@
|
|
|
|
|
|
<root level="INFO">
|
|
|
<appender-ref ref="STDOUT"/>
|
|
|
- <appender-ref ref="GRAYLOG"/>
|
|
|
+<!-- <appender-ref ref="GRAYLOG"/>-->
|
|
|
</root>
|
|
|
|
|
|
</configuration>
|