Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Telemetry drops logs when renamed #209

Open
scr-oath opened this issue Apr 8, 2024 · 1 comment
Open

Open Telemetry drops logs when renamed #209

scr-oath opened this issue Apr 8, 2024 · 1 comment

Comments

@scr-oath
Copy link

scr-oath commented Apr 8, 2024

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.

@phuslu
Copy link

phuslu commented Jul 9, 2024

#115 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants