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)
- Introduce a GUI for open source HOT 1
- NPE on WireMockServer.getServeEvents when using a StubRequestFilter HOT 1
- Adding more jettyAcceptors seems to do nothing besides cause thread contention. HOT 1
- align new join handlebar helper with features present in the join provided in the library, but not covered yet
- Expose args in Options so extensions can read it
- Possible memory leak ? HOT 15
- Prevent creating multiple stub mappings with the same ID HOT 1
- Support virtual threads in Jetty server for standalone deploy
- Error when proxying to a host that is only accessible via IPv6 HOT 1
- Formatted dates not in UTC
- __files created by default since v3.6.0 HOT 1
- absent operand must be a non-null string
- Array and data manipulation in handlebars template when using docker
- FileItemPartAdapter returning multipart's field name instead of a filename
- Avoiding reading zipfile entries repeatedly in ClasspathFileSource
- Support disabled state for stub mappings HOT 1
- Add a unique id to the template request model
- Add self-description callback(s) to MatchResult for use in Diff
- Report webhook errors and results as sub-events
- Support mTLS (client certificate) for standalone WireMock client
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.