Fix dbcp, tone down sentry

This commit is contained in:
md_5 2016-02-19 20:28:22 +11:00
parent 81f9ca0bc2
commit a84f8dd2d0
2 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ public class Mineplexer extends Plugin
Handler sentry = new SentryHandler(new DefaultRavenFactory().createRavenInstance( Handler sentry = new SentryHandler(new DefaultRavenFactory().createRavenInstance(
new Dsn("https://470f12378af3453ba089e0c0a0c9aae6:292516b722594784807aebb06db8ec38@app.getsentry.com/66323" new Dsn("https://470f12378af3453ba089e0c0a0c9aae6:292516b722594784807aebb06db8ec38@app.getsentry.com/66323"
))); )));
sentry.setLevel(Level.WARNING); sentry.setLevel(Level.SEVERE);
getProxy().getLogger().addHandler(sentry); getProxy().getLogger().addHandler(sentry);
} }
}); });

View File

@ -20,13 +20,13 @@
<groupId>mysql</groupId> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>
</dependency> </dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId> <artifactId>commons-dbcp2</artifactId>
</dependency> </dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>