Skip to content

how to log to a file with rotation? #1090

Answered by kaplanelad
zhuravkov asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @zhuravkov
In the configuration YAML, you should use the file_appender.

Within the file appender configuration, there is a field called rotation. The value for this field should be set to never.

You can find all available options here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zhuravkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants