• Stan Hu's avatar
    Flatten exception details in API and controller logs · b8d3e417
    Stan Hu authored
    Elasticsearch and Fluentd don't handle nested objects well: the
    `exception` field is currently parsed as a string and can't be searched
    with the specific keywords. As we do with Gitaly logs, flatten the
    fields to `exception.class`, `exception.message`, and
    `exception.backtrace` to enable better searchability.
    b8d3e417
exception_logger.rb 830 Bytes