Comments (12)
True, and it's on the list.
You can however write your own Notifier impl for the same effect.
from wiremock.
Somehow related to this issue. I tried to decrease log levels of wiremock to ERROR only, and it appears loggers are created with under multiple names, not following a package hierarchy. To achieve the ERROR level I had to include 4 logger names in my log4j.xml (com.github.tomakehurst.wiremock, /__admin, /, org.mortbay.log). Is this an intended behaviour?
from wiremock.
Sort of. I originally set the loggers up with only the standalone use case in mind. This wasn't a great decision, and it's one I intend to revisit at some point.
from wiremock.
Vote for such refactoring. Otherwise I'm forced to add log4.properties.
from wiremock.
+1 for this. I think it would help with running WireMock on Android.
from wiremock.
One caveat with this - there has to be a logging impl in the standalone JAR (and I'm minded to keep log4j for that), so it'll only be possible to switch logging implementations when using the non-standalone JAR.
Does this still solve everyone's issues?
Can anyone think of a better way?
from wiremock.
Sounds good. I believe people using standalone would not care what logger is being used.
from wiremock.
You could include slf4j, log4j, and the binding in the dependency. So if a project needs to use something else, we can just exclude log4j and its binding.
from wiremock.
Please see/comment on:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/wiremock-user/a6Reo7QAMYo/rzY5v8Apgv8J
from wiremock.
This is done on master now. Release shortly.
from wiremock.
kudos for the banner but wonder how many people would like that
from wiremock.
You think some people might object to it? Any particular reason?
from wiremock.
Related Issues (20)
- Wiremock standalone 3: NoSuchMethodError HOT 1
- Wiremock not detecting POST body request by Spring 6 RestClient HOT 1
- WireMockExtension.stopServerIfRunning() produces NPE when Unit Test aborts unexpectedly
- Add option to preserve User-Agent in the proxied request header
- HTTP/2 not properly supported for PUT requests HOT 10
- Add project icon for IntelliJ
- EqualToXml does not detect difference on certain XML documents if Xalan is on classpath HOT 1
- Enhancement: Add Option to Customize Jackson StreamReadConstraints in Wiremock Standalone
- Provide a summary of logged requests so that a user can assert on them HOT 1
- NoClassDefFoundError LoggerFactory in 3.5.1 HOT 3
- Updating 3.4.2 -> 3.5.1 broken HOT 4
- WireMock.stubFor(..) should have appropriate error description instead of unclear JsonException on 404 error code from non-WireMock server
- Relative date matching uses the system timezone
- Broken link in /Documentation / Using WireMock with Spring Boot HOT 1
- Fix matcher distance short-circuit biases HOT 1
- Allow scenario state to be scoped to arbitrary request attributes
- Version 3.5.3 of org.wiremock:wiremock-standalone references removed wiremock.org.apache.commons.io.IOUtils HOT 8
- Proxy - changing User-Agent with additionalProxyRequestHeaders stopped working after 3.2.0 HOT 1
- Include conditions in proxying functionality HOT 5
- xPath helper doesn't return result when XPath expression returns a single string item
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiremock.