fluent-logger-java
fluent-logger-java copied to clipboard
A structured logger for Fluentd (Java)
I have read some issues before about the reason to use a **WeakHashMap** in **FluentLoggerFactory**. And the WeakHashMap was changed from **WeakHashMap** (version 0.3.1) to **WeakHashMap**(current version 0.3.2). But I...
When We try to use the Fluentd java logger it throws the fellowing NullPointerException when the Fluentd server is down: `An exception occurred processing Appender fluentd java.lang.NullPointerException at org.fluentd.logger.sender.RawSocketSender.flushBuffer(RawSocketSender.java:158) at...
There are two types of errors I've run into: 1. Network Errors: Here I created an app to log to a remote Fluentd instance. `private static final FluentLogger LOG =...
The `RawSocketSender` takes a host and port in its constructor and coverts these into an `InetSocketAddress`, which tries to resolve the hostname. On `RawSocketSender` connect this `InetSocketAddress` is used to...
I'll be happy to contribute the code if interested.
if the fluent logger is used as a logger for slf4j and it fails to send messages it will choke on its own failure messages (cannot send message) once the...
Revised #30. And I modified `setErrorHandler/removeErrorHandler` in `AsyncRawSocketSender`. Should I add tests for `AsyncRawSocketSender`?
To be able to use the logger in an OSGi container as a bundle the manifest file needs some entries. A good primer on OSGi and what needs to be...
message: [tag, time, record] or [tag, [[time,record], [time,record], ...]] For bulk writing, could we have a way to send the second?
I and @komamitsu san discussed how to improve error reporting of the current 0.2.x versions. The major changes we considered are: - Add `setHandler(handler)` method to FluentLogger to accept an...