Skip to content

Explicit Flushing  #247

@JLorch

Description

@JLorch

We have a scenario where we want to use a buffered FileSink with a flush interval of lets say 5 seconds. If a critical error (above a certain log level) is logged we want to increase our chances of logging this to file (as the application might be unstable at this point and the periodic flush might not happen) and performing an explicit flush of the log.

Is this possible to achieve?

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