Support JSON logging to stderr #1026
Labels
api: logging
Issues related to the googleapis/java-logging API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
The
LoggingHandler
currently has a mode to log JSON to stdout, using the structured logging format.In constrast, many organizations standardize on stderr for logging, with stdout being reserved "for regular output". I work for such an organization. :) Of course, one could argue that the java-logging library is primarily for servers which have no regular output, but nonetheless it seems useful to add a stderr option onto this library.
I'll send a PR for this.
The text was updated successfully, but these errors were encountered: