Skip to content

Open Telemetry drops logs when renamed #209

@scr-oath

Description

@scr-oath

One possible solution to support Open Telemetry's filelogreceiver would be to have a mode more like go-cronowriter by writing directly to the current "backup file" and having Filename be a symlink to it. If this were done, then Open Telemetry could watch the backup files by a glob and would neither lose any lines written to the file which were not consumed before rotation, nor double-count lines if including the Filename in the glob.

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