Bug 1294168
Summary: | RFE : multi-line logging | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
Component: | RFE | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Junqi Zhao <juzhao> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | anli, aos-bugs, azipory, bandrade, erich, erjones, ewolinet, fcami, jcantril, jmalde, jokerman, lmeyer, mark.vinkx, mbarrett, mhernon, mmccomas, mmckinst, myllynen, pdwyer, ricferna, rkant, rmeggins, sgaikwad, simon.gunzenreiner, sjr, sspeiche, stwalter, tkatarki, tmanor, trogers, wsun |
Target Milestone: | --- | ||
Target Release: | 3.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-07 21:12:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Miheer Salunke
2015-12-25 07:52:12 UTC
Can the customer change their log4j configuration to send stack traces as a single data blob as "stack_trace" field metadata of the log entry? Is this a request for multi-line logging in general, or specifically to log and view Java exceptions correctly? If it is the latter, please change the bug summary to be "RFE: Java exception logging and viewing in Kibana" Note that multi-line logging in general is extremely difficult, and will require different fluentd configuration for each type of multi-line log. For example, parsing and viewing a multi-line Java exception is a lot different than a Python exception. There is a corresponding github issue https://github.com/openshift/origin-aggregated-logging/issues/28 *** Bug 1378592 has been marked as a duplicate of this bug. *** The 3.0 images include (but is disabled) a log formatter to output log entries as JSON. An example is provided here: https://github.com/knrc/openshift-examples/tree/json-logging-eap6/json-logging-eap6 . Additional documentation is the deliverable for: https://trello.com/c/k617Elhi which is to advise applications how to produce log messages. There is nothing we are able to do from the server side to handle the various permutations of logs that will come through the system. +1 Closing current release as this is supported OOTB in EAP7 with the merge of https://github.com/jboss-container-images/jboss-eap-7-openshift-image/pull/23 which sets ENABLE_JSON_LOGGING=true |