Skip to content

Commit

Permalink
Added system properties in build
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-astachowski committed Nov 14, 2024
1 parent afaf5d6 commit 2e33f77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/log_analyze_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function setup_log_env() {
sed -i'' -e "s|^java.util.logging.FileHandler.pattern.*|java.util.logging.FileHandler.pattern = $CLIENT_LOG_FILE_PATH|" ${LOG_PROPERTY_FILE}

if [[ ! -d ${CLIENT_LOG_DIR_PATH} ]]; then
echo "[INFO] create clien log directory $CLIENT_LOG_DIR_PATH"
echo "[INFO] create client log directory $CLIENT_LOG_DIR_PATH"
mkdir -p ${CLIENT_LOG_DIR_PATH}
fi

Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,10 @@
<includes>
<include>**/*IT.java</include>
</includes>
<systemPropertyVariables>
<net.snowflake.jdbc.loggerImpl>net.snowflake.client.log.JDK14Logger</net.snowflake.jdbc.loggerImpl>
<java.util.logging.config.file>${basedir}/src/test/resources/logging.properties</java.util.logging.config.file>
</systemPropertyVariables>
</configuration>
<dependencies>
<dependency>
Expand Down

0 comments on commit 2e33f77

Please sign in to comment.