Skip to content

Conversation

Gezi-lzq
Copy link
Contributor

@Gezi-lzq Gezi-lzq commented Jul 3, 2025

The hive-metastore dependency transitively introduced logback-classic and commons-logging, which conflicted with the project's existing slf4j-reload4j logging setup. This caused the primary logging configuration to be ignored and replaced by unwanted default logging.

This commit resolves the issue by:

  1. Globally excluding logback-classic, logback-core, and the native commons-logging implementation across all project configurations.
  2. Adding the jcl-over-slf4j bridge dependency. This satisfies Hive's runtime requirement for the commons-logging API while redirecting its log calls to the project's unified SLF4J backend.

@superhx superhx merged commit 7c9cdd0 into main Jul 3, 2025
6 checks passed
@superhx superhx deleted the fix/hive-log branch July 3, 2025 08:38
Gezi-lzq added a commit that referenced this pull request Jul 3, 2025
feat(dependencies): add jcl-over-slf4j library and exclude conflicting logging implementations
Gezi-lzq added a commit that referenced this pull request Jul 3, 2025
feat(dependencies): add jcl-over-slf4j library and exclude conflicting logging implementations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants