Skip to content

Can the file sink support reopen? #2774

@panpan-wu

Description

@panpan-wu

I want to use logrotate to rotate files created by the file sink. After rotate, I'd like the file sink can reopen file, how to do it?

Or can the file sink support max file size and max file number option? What I want to do is to limit the size and number of the file.

Metadata

Metadata

Assignees

Labels

have: shouldWe should have this feature, but is not required. It is medium priority.sink: fileAnything `file` sink relatedtype: bugA code related bug.type: enhancementA value-adding code change that enhances its existing functionality.type: helpUser support and help.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions