Skip to content

extra field filled at runtime #3

@mfrata

Description

@mfrata

@mfrata is it possible to use an extra field filled at runtime? Example:

$ export LOG_EXTRA_FIELDS='{"client_id": "%(client_id)s"}'

>>> from lodge import log
>>> log.error("some error", client_id=1)

or does it make sense?

Originally posted by @brenocosta0901 in #1 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions