diqiu50 opened a new issue, #12634: URL: https://github.com/apache/gravitino/issues/12634
### What would you like to be improved? trino-connector logs via SLF4J/Log4j2. Trino loads the connector plugin in an isolated classloader, and Log4j2's logging context is classloader-scoped, so the connector's logging is disconnected from Trino's own. The plugin jar ships no Log4j2 config, so it falls back to the default (root ERROR, console appender) — most log output is silently dropped, and the rest goes to raw stdout instead of `var/log/server.log`. ### How should we improve? Switch to `io.airlift.log.Logger`, which Trino's own connectors use. It wraps `java.util.logging`, a JVM-wide singleton unaffected by classloader isolation, so log output routes correctly into Trino's unified `var/log/server.log`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
