Skip to content

deploying hystrix dashboard on tomcat, SLF4J complains about a missing implementation#204

Merged
benjchristensen merged 1 commit intoNetflix:masterfrom
ahus1:ahus1-slf4jimpl
Mar 5, 2014
Merged

deploying hystrix dashboard on tomcat, SLF4J complains about a missing implementation#204
benjchristensen merged 1 commit intoNetflix:masterfrom
ahus1:ahus1-slf4jimpl

Conversation

@ahus1
Copy link
Copy Markdown
Contributor

@ahus1 ahus1 commented Jan 28, 2014

this change fixes it by exchanging the API for the implemenation (like it has been before the upgrade of slf4j 1.7.0), see f29321c

@cloudbees-pull-request-builder
Copy link
Copy Markdown

Hystrix-pull-requests #64 FAILURE
Looks like there's a problem with this pull request

@ahus1
Copy link
Copy Markdown
Contributor Author

ahus1 commented Jan 28, 2014

One test fails on cloudbees, a different test fails on the command line, but not in the IDE. Looks a bit unstable here :-( it shouldn't be fixed in this change, I'll look at it another time.

@benjchristensen
Copy link
Copy Markdown
Contributor

The point of SL4J is to only have the API. See here: http://www.slf4j.org

Note that SLF4J-enabling your library implies the addition of only a single mandatory dependency, namely slf4j-api.jar. If no binding is found on the class path, then SLF4J will default to a no-operation implementation.

@ahus1
Copy link
Copy Markdown
Contributor Author

ahus1 commented Feb 10, 2014

Hello Ben,

I know that using slf4j-api is the thing to use in libraries.

But hystrix-dashboard is a web application archive (WAR), that should include an implementation (like it includes a log4j.properties as well).

Otherwise it will not do any logging at all.

Please consider re-opening the pull request and merge the changes.

Thanks, Alexander.

@benjchristensen
Copy link
Copy Markdown
Contributor

Ah okay, I see what you mean.

@cloudbees-pull-request-builder
Copy link
Copy Markdown

Hystrix-pull-requests #70 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Mar 5, 2014
deploying hystrix dashboard on tomcat, SLF4J complains about a missing implementation
@benjchristensen benjchristensen merged commit 4d28ae6 into Netflix:master Mar 5, 2014
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.

3 participants