Skip to content

Commit

Permalink
Release 1.6.0
Browse files Browse the repository at this point in the history
= Quick Fix.
  • Loading branch information
DxsSucuk committed Feb 4, 2022
1 parent 025fefc commit bbc81d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@
<artifactId>jersey-client</artifactId>
<version>3.0.3</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/presti/ree6/sql/SQLConnector.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void connectToSQLServer() {

try {
// Create a new Connection by using the SQL DriverManager and the MariaDB Java Driver and notify if successful.
connection = DriverManager.getConnection("jdbc:mysql://" + databaseServerIP + ":" + databaseServerPort + "/" + databaseName + "?autoReconnect=true", databaseUser, databasePassword);
connection = DriverManager.getConnection("jdbc:mariadb://" + databaseServerIP + ":" + databaseServerPort + "/" + databaseName + "?autoReconnect=true", databaseUser, databasePassword);
Main.getInstance().getLogger().info("Service (MariaDB) has been started. Connection was successful.");
} catch (Exception exception) {
// Notify if there was an error.
Expand Down
15 changes: 1 addition & 14 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,12 @@
<!-- Configure Twitch4J logger level -->
<logger name="com.github.twitch4j" level="INFO"/>

<property name="LOG_ROOT" value="/home/Ree6/logs" />

<!-- <appender name="FILE" class="ch.qos.logback.core.FileAppender">
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>logs/latest.log</file>
<append>true</append>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg %n</pattern>
</encoder>
</appender> -->

<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<append>true</append>
<file>${LOG_ROOT}/latest.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${LOG_ROOT}/log_%d{yyyy-MM-dd}.log</fileNamePattern>
</rollingPolicy>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg %n</pattern>
</encoder>
</appender>

<!-- Appender Configuration [Console] -->
Expand Down

0 comments on commit bbc81d4

Please sign in to comment.