[JAVA-5805]: Logging to Graylog with Spring Boot Update (#12934)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
This commit is contained in:
parent
70e1917f1e
commit
fd623cb9f8
|
@ -61,13 +61,6 @@
|
||||||
<version>${lombok.version}</version>
|
<version>${lombok.version}</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- for Graylog demo -->
|
|
||||||
<dependency>
|
|
||||||
<!-- forcing spring boot 1.x sing log4j was dropped in spring boot 1.4 and beyond -->
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-log4j</artifactId>
|
|
||||||
<version>${spring-boot-starter-log4j.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.graylog2</groupId>
|
<groupId>org.graylog2</groupId>
|
||||||
<artifactId>gelfj</artifactId>
|
<artifactId>gelfj</artifactId>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</layout>
|
</layout>
|
||||||
</appender>
|
</appender>
|
||||||
<appender name="graylog" class="org.graylog2.log.GelfAppender">
|
<appender name="graylog" class="org.graylog2.log.GelfAppender">
|
||||||
<param name="graylogHost" value="18.217.253.212"/>
|
<param name="graylogHost" value="127.0.0.1"/>
|
||||||
<param name="originHost" value="localhost"/>
|
<param name="originHost" value="localhost"/>
|
||||||
<param name="graylogPort" value="12201"/>
|
<param name="graylogPort" value="12201"/>
|
||||||
<param name="extractStacktrace" value="true"/>
|
<param name="extractStacktrace" value="true"/>
|
||||||
|
|
Loading…
Reference in New Issue