[JAVA-5805]: Logging to Graylog with Spring Boot Update (#12934)

Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
This commit is contained in:
Harry9656 2022-12-05 18:35:30 +01:00 committed by GitHub
parent 70e1917f1e
commit fd623cb9f8
2 changed files with 1 additions and 8 deletions

View File

@ -61,13 +61,6 @@
<version>${lombok.version}</version>
<scope>provided</scope>
</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>
<groupId>org.graylog2</groupId>
<artifactId>gelfj</artifactId>

View File

@ -7,7 +7,7 @@
</layout>
</appender>
<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="graylogPort" value="12201"/>
<param name="extractStacktrace" value="true"/>