Skip to content

Commit d2e8aba

Browse files
committed
fix(jdbc): harden log file creation with 0600/0700 permissions and symlink checks
1 parent b92f845 commit d2e8aba

3 files changed

Lines changed: 473 additions & 49 deletions

File tree

‎java-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryJdbcCustomLogger.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ private static boolean isLoggerClass(String className) {
116116
|| className.equals("com.google.cloud.bigquery.jdbc.BigQueryJdbcResultSetLogger")
117117
|| className.startsWith("com.google.cloud.bigquery.jdbc.BigQueryJdbcRootLogger")
118118
|| className.equals("com.google.cloud.bigquery.jdbc.PerConnectionFileHandler")
119+
|| className.startsWith("com.google.cloud.bigquery.jdbc.PerConnectionFileHandler$")
119120
|| className.equals(BigQueryJdbcLogRecord.class.getName());
120121
}
121122
}

0 commit comments

Comments
 (0)