Hi,
After i built the executable and run it, it does not check the logging.config
property in application.properties
file. I tried to change the logging.config
to wrong logback config file path, but no error comes out about it.
Spring boot version: 3.0.7
Build method: Using base image ghcr.io/graalvm/graalvm-ce:22.3.1
to build exe with command mvnw native:compile -Pnative
, with maven plugin native-maven-plugin
Plugin configuration:
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<buildArgs>
<arg>-H:+AddAllCharsets</arg>
<arg>-H:+TraceSecurityServices</arg>
<arg>-H:+ReportExceptionStackTraces</arg>
</buildArgs>
</configuration>
</plugin>
Is it the case that it will not check this property? I am pretty sure it works for jar file executable. If so, how do I make it configurable? My use case is that I need to deploy this app to Windows/Linux servers, whereby the file path can be different.
Thanks, Kae Yan
Comment From: KaeYan93
Hi, i just updated the issue comment with more information about the build
Comment From: bclozel
Duplicates https://github.com/spring-projects/spring-boot/issues/37750