Skip to content

Commit 94e0deb

Browse files
committed
Increase logging for native image build in CI
Adds SLF4J simple logger properties to Maven commands in the native image build steps for Mac, Linux, and Windows in the pull request workflow. This change sets the default log level to info and enables info-level logging for org.apache.jena, improving build output visibility.
1 parent 332365c commit 94e0deb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pull_request_check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848
4949
- name: Creating native image (Mac)
5050
if: matrix.os == 'macos-13'
51-
run: mvn install -P native-image,native-test-config -Dos.platform=mac -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
51+
run: mvn install -P native-image,native-test-config -Dos.platform=mac -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Dorg.slf4j.simpleLogger.defaultLogLevel=info -Dorg.slf4j.simpleLogger.log.org.apache.jena=info
5252
env:
5353
TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454

5555
- name: Creating native image (Linux)
5656
if: matrix.os == 'ubuntu-latest'
57-
run: mvn install -P native-image,native-test-config -Dos.platform=linux -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
57+
run: mvn install -P native-image,native-test-config -Dos.platform=linux -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Dorg.slf4j.simpleLogger.defaultLogLevel=info -Dorg.slf4j.simpleLogger.log.org.apache.jena=info
5858
env:
5959
TOKEN: ${{ secrets.GITHUB_TOKEN }}
6060

@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: Creating native image (Win)
6666
if: matrix.os == 'windows-latest'
67-
run: mvn install -P native-image,native-test-config -D os.platform=win -D maven.wagon.httpconnectionManager.ttlSeconds=60
67+
run: mvn install -P native-image,native-test-config -D os.platform=win -D maven.wagon.httpconnectionManager.ttlSeconds=60 -Dorg.slf4j.simpleLogger.defaultLogLevel=info -Dorg.slf4j.simpleLogger.log.org.apache.jena=info
6868
env:
6969
TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070

0 commit comments

Comments
 (0)