Skip to content

Logged SQL Statements are not visible in dev ui log. #20578

Open

Description

Describe the bug

I activated quarkus.hibernate-orm.log.sql=true.
The sql statements are logged to the console, but not visible in dev ui.

Expected behavior

The log in dev ui also prints out the executed sql statements.

Actual behavior

No sql statements are logged in dev ui.
Parameters for the statements are logged however.

How to Reproduce?

  1. Download the reproducer: self-invocation.zip

  2. mvn quarkus:dev, open dev ui

  3. http://localhost:8080/hello

  4. The terminal now prints out some sql statements.

  5. They are not visible in dev ui however

Output of uname -a or ver

MSYS_NT-10.0-19043 NANB7NLNVP2 3.1.7-340.x86_64 2021-03-26 22:17 UTC x86_64 Msys

Output of java -version

OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS) OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.3.0.Final

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739) Maven home: C:\eclipse\tools\apache-maven Java version: 11.0.7, vendor: Azul Systems, Inc., runtime: C:\eclipse\tools\java\11 Default locale: de_DE, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area/dev-uienv/windowsImpacts Windows machineskind/enhancementNew feature or requesttriage/upstreamUsed for issues which are caused by issues in upstream projects/dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions