-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19078 from phillip-kruger/logging-fix
Move Dev UI Logging closer to Console logging
- Loading branch information
Showing
11 changed files
with
225 additions
and
199 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
...eployment/src/main/java/io/quarkus/deployment/builditem/WebSocketLogHandlerBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package io.quarkus.deployment.builditem; | ||
|
||
import java.util.Optional; | ||
import java.util.logging.Handler; | ||
|
||
import org.wildfly.common.Assert; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
import io.quarkus.runtime.RuntimeValue; | ||
|
||
/** | ||
* A build item for adding the dev stream log | ||
*/ | ||
public final class WebSocketLogHandlerBuildItem extends SimpleBuildItem { | ||
private final RuntimeValue<Optional<Handler>> handlerValue; | ||
|
||
/** | ||
* Construct a new instance. | ||
* | ||
* @param handlerValue the handler value to add to the run time configuration | ||
*/ | ||
public WebSocketLogHandlerBuildItem(final RuntimeValue<Optional<Handler>> handlerValue) { | ||
this.handlerValue = Assert.checkNotNullParam("handlerValue", handlerValue); | ||
} | ||
|
||
/** | ||
* Get the handler value. | ||
* | ||
* @return the handler value | ||
*/ | ||
public RuntimeValue<Optional<Handler>> getHandlerValue() { | ||
return handlerValue; | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
core/deployment/src/main/java/io/quarkus/deployment/logging/LogStreamBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package io.quarkus.deployment.logging; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
public final class LogStreamBuildItem extends MultiBuildItem { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
...tx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/logstream/HistoryHandler.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.