Datasource's logWriter

73 views
Skip to first unread message

Jmeter Tea

unread,
Jan 10, 2019, 6:13:30 AM1/10/19
to HikariCP
Hello,

HikariCP Github page have the following code:
props.put("dataSource.logWriter", new PrintWriter(System.out));

But it seems that LogWriter isn't supported DriverDataSource final HikariCP class:

   @Override
   public PrintWriter getLogWriter() throws SQLException
   {
      throw new SQLFeatureNotSupportedException();
   }

   @Override
   public void setLogWriter(PrintWriter logWriter) throws SQLException
   {
      throw new SQLFeatureNotSupportedException();
   }

Is this solution for updating HikariCP logging is irrelevant?
Reply all
Reply to author
Forward
0 new messages