Permalink
Browse files

Add init call to getParrentLogger per PR comments

  • Loading branch information...
1 parent 9c73813 commit 11196d730a28d7e173e0eac03bc00ae4ef90fc4c @mustajarvi mustajarvi committed Jan 12, 2016
Showing with 1 addition and 0 deletions.
  1. +1 −0 slick/src/main/scala/slick/jdbc/DriverDataSource.scala
@@ -120,6 +120,7 @@ class DriverDataSource(
def setLogWriter(out: PrintWriter): Unit = throw new SQLFeatureNotSupportedException()
def getParentLogger: Logger = {
+ init
try driver.asInstanceOf[{ def getParentLogger(): Logger }].getParentLogger
catch { case _: NoSuchMethodException => throw new SQLFeatureNotSupportedException() }
}

0 comments on commit 11196d7

Please sign in to comment.