File tree 2 files changed +1
-4
lines changed
postgresql-async/src/main/scala/com/github/mauricio/async/db/postgresql 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ import scala.concurrent._
33
33
import io .netty .channel .EventLoopGroup
34
34
35
35
object PostgreSQLConnection {
36
- val log = Log .get[PostgreSQLConnection ]
37
36
val Counter = new AtomicLong ()
38
37
val ServerVersionKey = " server_version"
39
38
}
@@ -60,6 +59,7 @@ class PostgreSQLConnection
60
59
executionContext
61
60
)
62
61
private final val currentCount = Counter .incrementAndGet()
62
+ private final val log = Log .getByName(s " ${this .getClass.getName}: ${currentCount}" )
63
63
private final val preparedStatementsCounter = new AtomicInteger ()
64
64
private final implicit val internalExecutionContext = executionContext
65
65
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ import com.github.mauricio.async.db.util._
26
26
import java .net .InetSocketAddress
27
27
import scala .annotation .switch
28
28
import scala .concurrent ._
29
- import scala .util .Failure
30
- import scala .util .Success
31
29
import io .netty .channel ._
32
30
import io .netty .bootstrap .Bootstrap
33
31
import io .netty .channel
@@ -62,7 +60,6 @@ class PostgreSQLConnectionHandler
62
60
private val properties = List (
63
61
" user" -> configuration.username,
64
62
" database" -> configuration.database,
65
- " application_name" -> " Netty-PostgreSQL-driver-0.1.2-SNAPSHOT" ,
66
63
" client_encoding" -> configuration.charset.name(),
67
64
" DateStyle" -> " ISO" ,
68
65
" extra_float_digits" -> " 2" )
You can’t perform that action at this time.
0 commit comments