Comments (12)
Thank for the reproducer. I managed to recreate, so looking at it now. This might need a new version of Logging manager.
from quarkus-logging-manager.
@ansgerl Please try with the just released 2.1.1 and let me know. thanks
from quarkus-logging-manager.
Bug :) We always create a new FileSystem, but sometime it exists. Seems like some gradle specific issue, could be that they cache or something.
from quarkus-logging-manager.
Thanks very much!
from quarkus-logging-manager.
Does it work in JVM mode (so not Dev Mode, running the jar) ?
from quarkus-logging-manager.
Your right, it does also not work in JVM production mode.
How can I build it, so it also works in production mode?
from quarkus-logging-manager.
How does your application.properties look like ?
Do you have : quarkus.logging-manager.ui.always-include=true
from quarkus-logging-manager.
O.k. with this I get a new error when building:
io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkiverse.loggingmanager.deployment.LoggingManagerProcessor#includeUiAndWebsocket threw an exception: java.nio.file.FileSystemAlreadyExistsException
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:102)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:337)
at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:286)
at io.quarkiverse.loggingmanager.deployment.LoggingManagerProcessor.addStaticResource(LoggingManagerProcessor.java:344)
at io.quarkiverse.loggingmanager.deployment.LoggingManagerProcessor.includeUiAndWebsocket(LoggingManagerProcessor.java:203)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:820)
at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
at java.base/java.lang.Thread.run(Thread.java:834)
at org.jboss.threads.JBossThread.run(JBossThread.java:501)
from quarkus-logging-manager.
OK that is interesting. Do you have a small reproducer I can look at ?
from quarkus-logging-manager.
The funny thing is: when started via quarkusDev it runs, but when building production jar, build fails.
These are the application.properties I use:
#GLOBAL configuration
quarkus.http.port=4020
quarkus.banner.path=banner.txt
quarkus.health.openapi.included=true
quarkus.default-locale=en-US
quarkus.smallrye-openapi.path=/swagger
mp.openapi.scan.disable=true
quarkus.swagger-ui.always-include=true
quarkus.swagger-ui.path=/swagger-ui
Add the logging manager openapi
quarkus.logging-manager.ui.always-include=true
quarkus.logging-manager.openapi.included=true
quarkus.native.additional-build-args=-H:ResourceConfigurationFiles=XXX,-H:Log=registerResource:
quarkus.native.auto-service-loader-registration=false
#New with Quarkus 1.11 - native-image minimum available log level
quarkus.log.min-level=DEBUG
Use file rotation to avoid out of memory issues
quarkus.log.file.rotation.max-file-size=10M
quarkus.log.file.rotation.max-backup-index=10
%prod.quarkus.log.console.enable=false
from quarkus-logging-manager.
When building this project on a iMac (intel) using ./gradlew build
I get the above error.
Maybe it is a gradle issue?
I am using Java 11.
from quarkus-logging-manager.
It now works! Thanks!
What was the problem?
from quarkus-logging-manager.
Related Issues (20)
- How to customize package hierarchy displayed in "Log Levels" window HOT 1
- Startup Error during tests HOT 4
- Click on top left icon yields NOT_FOUND instead of navigating back to Dev UI overview HOT 2
- Dev UI fails to load with this extension if using Quarkus 2.6.1 HOT 6
- Add docs module
- oom on build HOT 4
- quarkus.logging-manager.history-size config not working HOT 3
- Migrate to the new Dev UI
- Authentication with bearer token HOT 7
- Can't build Quarkus core 3.1.0.Final with latest quarkus-logging-manager HOT 3
- Provide option to expose endpoints on different port HOT 4
- Endpoints are not found when the application is build HOT 2
- version 3.0.0 no longer works because of missing javascript files HOT 11
- Unable to build due to missing mvnpm dependency HOT 1
- NullPointer when setting logger level to null HOT 2
- open-api warnings HOT 3
- How to include quarkus-logging-manager in uberJar so it is available to modify logging level during run time HOT 18
- Logging manager UI is not working in native image mode HOT 6
- Upgrade to use latest Quarkus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus-logging-manager.