Ant Media Server logs rotation policy. #5657
Replies: 2 comments 2 replies
-
I will check this and get back to you |
Beta Was this translation helpful? Give feedback.
-
Hi @Mohit-3196 There are different configurations for the ant-media-server.log: You can change these settings in the following file:
Log file size: Logback.xml Line 26 After making these changes, don't forget to restart Ant Media Server:
antmedia-error.log and 0.0.0.0_access.*.log: You can make changes in the following file:
Log file size: maxsize 50M https://github.com/ant-media/Scripts/blob/master/install_ant-media-server.sh#L423-L450 No need to restart for this process. If you still have any questions or if anything is unclear, please feel free to ask. |
Beta Was this translation helpful? Give feedback.
-
I would like to understand how the rotation policy works for the ant-media-server.log and antmedia-error.log files.
Are they rotated on the basis of the log file size or number of days/time-period?
Also, how can I change these policies for both the ant-media-server.log and antmedia-error.log files?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions