how to log to a file with rotation? #1090
-
Is it possible to set up logging to a file with rotation 1 time per day at the application level? |
Beta Was this translation helpful? Give feedback.
Answered by
kaplanelad
Dec 17, 2024
Replies: 1 comment
-
Hey @zhuravkov 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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhuravkov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.