Added connection message at startup.

This commit is contained in:
Robin Kupper
2011-05-04 00:38:17 +02:00
parent 34b9385707
commit 85678730e4

View File

@@ -74,6 +74,7 @@ public class LogBlock extends JavaPlugin
return; return;
} }
try { try {
log.info("[LogBlock] Connecting to " + config.user + "@" + config.url + "...");
pool = new ConnectionPool(config.url, config.user, config.password); pool = new ConnectionPool(config.url, config.user, config.password);
final Connection conn = getConnection(); final Connection conn = getConnection();
conn.close(); conn.close();