sfuhrm / logwebconfig Goto Github PK
View Code? Open in Web Editor NEWLogging configuration using a REST API
License: Apache License 2.0
Logging configuration using a REST API
License: Apache License 2.0
Fix non-critical broken pipe in TCP stream which shows with
curl -d DEBUG -X GET http://localhost:54321/log4j2//level
Might be that this is linked to the extra HTTP body (-d DEBUG) sent.
NanoHTTPD$Response send
SCHWERWIEGEND: Could not send response to the client
java.net.SocketException: Datenübergabe unterbrochen (broken pipe) (Write failed)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at fi.iki.elonen.NanoHTTPD$Response.sendBody(NanoHTTPD.java:1480)
at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectEncoding(NanoHTTPD.java:1453)
at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectTransferAndEncoding(NanoHTTPD.java:1443)
at fi.iki.elonen.NanoHTTPD$Response.send(NanoHTTPD.java:1429)
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:871)
at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:189)
at java.lang.Thread.run(Thread.java:748)
It's a little annoying that the error is displayed, but it's not a functional deficit.
Tests with mocking break with
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl
Add log4j1 support using a LogConfigurator
See https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/LogManager.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.