In BaseDataSource.initializeFrom fields like logLevel are copied from the PGPoolingDataSource instance to the PGPoolConnectionDataSource instance. But not logLevelSet.
So ds.logLevelSet=true will be done. But after BaseDataSource.initializeFrom in the PGPoolConnectionDataSource I see that the LogLevel=2, so that's OK, but logLevelSet=false.