pom.xml: Add log4j classes
After observing logs of scylla-jmx, I started to notice the following message: Running '/bin/journalctl --unit scylla-jmx.service' [stdout] -- Logs begin at Sat 2016-01-23 10:02:51 UTC, end at Sat 2016-01-23 10:07:26 UTC. -- [stdout] Jan 23 10:05:15 ip-172-30-0-9 systemd[1]: Started Scylla JMX. [stdout] Jan 23 10:05:15 ip-172-30-0-9 systemd[1]: Starting Scylla JMX... [stdout] Jan 23 10:05:16 ip-172-30-0-9 scylla-jmx[2685]: Using config file: /etc/scylla/scylla.yaml [stdout] Jan 23 10:05:22 ip-172-30-0-9 scylla-jmx[2685]: Connecting to http://127.0.0.1:10000 [stdout] Jan 23 10:05:22 ip-172-30-0-9 scylla-jmx[2685]: Starting the JMX server [stdout] Jan 23 10:05:29 ip-172-30-0-9 scylla-jmx[2685]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". [stdout] Jan 23 10:05:29 ip-172-30-0-9 scylla-jmx[2685]: SLF4J: Defaulting to no-operation (NOP) logger implementation [stdout] Jan 23 10:05:29 ip-172-30-0-9 scylla-jmx[2685]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. So we're potentially losing a lot of information on our jmx service logs. Let's update the log4j dependencies, and add the other ones that are necessary for the logging to work. Signed-off-by: Lucas Meneghel Rodrigues <lmr@scylladb.com> Message-Id: <1453746313-15054-1-git-send-email-lmr@scylladb.com>
This commit is contained in:
parent
3e1a8961a2
commit
6692f5a3c0
16
pom.xml
16
pom.xml
@ -40,7 +40,21 @@
|
||||
<artifactId>jersey-client</artifactId>
|
||||
<version>2.22.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.7.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<version>1.6.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
<version>1.7.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
|
Loading…
Reference in New Issue
Block a user