-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure repository is missing log4j-slf4j-impl dependency #83652
Labels
>bug
:Core/Infra/Logging
Log management and logging utilities
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
v8.0.0
Comments
pgomulka
added
>bug
needs:triage
Requires assignment of a team area label
:Core/Infra/Logging
Log management and logging utilities
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
labels
Feb 8, 2022
elasticmachine
added
Team:Core/Infra
Meta label for core/infra team
Team:Delivery
Meta label for Delivery team
labels
Feb 8, 2022
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Pinging @elastic/es-delivery (Team:Delivery) |
pgomulka
added
v8.0.0
and removed
Team:Core/Infra
Meta label for core/infra team
Team:Delivery
Meta label for Delivery team
needs:triage
Requires assignment of a team area label
labels
Feb 8, 2022
pgomulka
changed the title
Azure repository is missing sf4j dependency
Azure repository is missing log4j-slf4j-impl dependency
Feb 8, 2022
pgomulka
added a commit
to pgomulka/elasticsearch
that referenced
this issue
Feb 8, 2022
repository azure plugin is using azure-core which depends on sl4j for logging. Slf4j requires a bridge to log into log4j2 otherwise it emitts a warning to STDOUT and all further logs also to STDOUT. This commit addes the missing log4j-sl4j-impl which is a bridge between slf4j API and log4j implementation closes elastic#83652
pgomulka
added a commit
that referenced
this issue
Feb 9, 2022
repository azure plugin is using azure-core which depends on sl4j for logging. Slf4j requires a bridge to log into log4j2 otherwise it emitts a warning to STDOUT and all further logs also to STDOUT. This commit addes the missing log4j-sl4j-impl which is a bridge between slf4j API and log4j implementation closes #83652
pgomulka
added a commit
to pgomulka/elasticsearch
that referenced
this issue
Feb 9, 2022
repository azure plugin is using azure-core which depends on sl4j for logging. Slf4j requires a bridge to log into log4j2 otherwise it emitts a warning to STDOUT and all further logs also to STDOUT. This commit addes the missing log4j-sl4j-impl which is a bridge between slf4j API and log4j implementation closes elastic#83652
pgomulka
added a commit
to pgomulka/elasticsearch
that referenced
this issue
Feb 9, 2022
repository azure plugin is using azure-core which depends on sl4j for logging. Slf4j requires a bridge to log into log4j2 otherwise it emitts a warning to STDOUT and all further logs also to STDOUT. This commit addes the missing log4j-sl4j-impl which is a bridge between slf4j API and log4j implementation closes elastic#83652
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Core/Infra/Logging
Log management and logging utilities
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
v8.0.0
Elasticsearch Version
8.0
Installed Plugins
repository_azure
Java Version
bundled
OS Version
macos
Problem Description
ES never had a dependency on slf4j, however azure repository does. This plugin default to no op logger implementation and emits a warning into logs
The stacktrace for this warning is
The problem become visible since #81870 made repository_azure a module (an always loaded plugin). Hence we can observe this warning on very startup when modules are loaded.
Should we add log4j-slf4j-impl dependency?
or Should we ignore this, "strip"/hide those warnings? From what I see in ClientLogger from azure-core it would just use System.out.println for logging.
Steps to Reproduce
checkout any revision after 29349f4 and start ES
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: