-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'quarkus.log.console.format' '%i' Process ID fixed at build time #39854
Labels
Milestone
Comments
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Apr 3, 2024
Fixed in smallrye/smallrye-common#299 and jboss-logging/jboss-logmanager#464. Either component update should take care of the issue. |
@dmlloyd cool. I assume we can get new releases soon? |
Yeah ASAP. |
🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
it looks like 'Process ID' is fixed at build time when running in native mode. In JVM mode works as expected.
Expected behavior
the process ID is different every run
Actual behavior
the process ID is always the same
How to Reproduce?
quarkus create app org.acme:getting-started --extension='rest' && cd getting-started
quarkus.log.console.format=%d{yyyy-MM-dd HH:mm:ss.SSS} %i%n
mvn package -Pnative -Dmaven.test.skip=true
./target/getting-started-1.0.0-SNAPSHOT-runner
Output of
uname -a
orver
Linux rubin-ec84.de 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux
Output of
java -version
java version "21.0.2" 2024-01-16 LTS Java(TM) SE Runtime Environment Oracle GraalVM 21.0.2+13.1 (build 21.0.2+13-LTS-jvmci-23.1-b30) Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.2+13.1 (build 21.0.2+13-LTS-jvmci-23.1-b30, mixed mode, sharing)
Mandrel or GraalVM version (if different from Java)
java version "21.0.2" 2024-01-16 LTS Java(TM) SE Runtime Environment Oracle GraalVM 21.0.2+13.1 (build 21.0.2+13-LTS-jvmci-23.1-b30) Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.2+13.1 (build 21.0.2+13-LTS-jvmci-23.1-b30, mixed mode, sharing)
Quarkus version or git rev
3.9.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Additional information
No response
The text was updated successfully, but these errors were encountered: