GeezerVison is showing github.com — Logging Handler Should Have Fluentd Transport · Issue #1130 · googleapis/google-cloud-java
Logging Handler Should Have Fluentd Transport #1130DescriptionThis might be a "nice-to-have", but a Java logging handler that logs by writing to the fluentd handler could be helpful. Biggest consideration here is whether it would perform better than the current one. fluentd is installed on App Engine flexible and can be included in GKE clusters with click of a button so it's good to integrate with it. Activitymziccard commented on Aug 8, 2016 Hi @waprin, you mean having a JUL handler that logs entries to fluentd? While this is surely a "nice-to-have" (I am surprised it does not exist yet) I doubt that gcloud-java is the right place for it. waprin commented on Aug 8, 2016 Yep that's what I meant. Both GAE Flexible and GKE install the logging agent and it's one of the main ways we recommend communicating with logging API (though having an option to just use the API directly is also good).
I personally think it does belong in the gcloud-* libraries but opinions in general seemed mixed and might be decided on a per-language basis. Just wanted it on the radar. mziccard commented on Aug 10, 2016
I personally think it does belong in the gcloud-* libraries
If I understood correctly such a handler should serve as a way to direct log entries produced with JUL to fluentd. Even though I see it could be used in both GAE and GKE, such a handler is not directly related to Stackdriver Logging. In fact, it could be also useful in circumstances where fluentd is used with a different target. I would imagine this is something fluentd people might be interested in providing users with.
For this reason I believe that gcloud-java is not the best place for this bridge between JUL and fluentd. waprin commented on Aug 10, 2016 waprin commented on Aug 10, 2016 Also if you read the answer to that StackOverflow question, the log levels are captured correctly only in the 'compat' runtime, because someone actually did this work in this runtimes so log work as expected, but really it should work in the vanilla runtime as well, but being 'vanilla' we have to ask users to instrument some sort of client library to do so. As you can see, NodeJS created a whole repo just for that one tiny piece of code, which is an opinion thing as mentioned but I personally think it makes sense to include some of that code here. lesv commented on Aug 16, 2016 lesv commented on Aug 16, 2016 BTW - I'm asking that all supported Java Frameworks including logging correctly, like java-compat. danoscarmike commented on Aug 9, 2017 @jabubake is this being actively worked on or still in 'nice-to-have' bucket? If latter, I'd like to move to our feature backlog and close this issue. Thanks! jabubake commented on Aug 9, 2017 danoscarmike commented on Aug 9, 2017
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|