Skip to content

support some extra context in RequestLogging #3

@olliebun

Description

@olliebun

I'd like to be able to ask of the request logger:

include this value from the rack env in log messages

Or:

include this header from requests or responses in log messages

Or:

call this proc/lambda/block every time you log to let me customize log messages

This would allow us to nicely implement something like greensync/greensync-static-site#7

The base logger API exposed by this gem supports that kind of thing easily - but I can't think of a nice way to do this with the RequestLogging class as it is today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions