Skip to content
Permalink
Browse files
Add init call to getParrentLogger per PR comments
  • Loading branch information
mustajarvi committed Jan 12, 2016
1 parent 9c73813 commit 11196d730a28d7e173e0eac03bc00ae4ef90fc4c
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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.