You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/10/13 09:58:34 UTC

[GitHub] [inlong] healchow commented on a diff in pull request #6107: [INLONG-6106][Feature] Add logs rolling policies and rollover strategy

healchow commented on code in PR #6107:
URL: https://github.com/apache/inlong/pull/6107#discussion_r994432051


##########
inlong-agent/conf/log4j2.xml:
##########
@@ -37,10 +38,13 @@
         <property name="error_filePattern">${basePath}/error-%d{yyyy-MM-dd}-%i.log.gz</property>
         <property name="error_max">10</property>
         <property name="console_print_level">DEBUG</property>
+        <property name="index_max">10</property>
         <property name="index_fileName">${basePath}/index.log</property>
         <property name="index_filePattern">${basePath}/index-%d{yyyy-MM-dd}-%i.log.gz</property>
+        <property name="monitors_max">10</property>
         <property name="monitors_fileName">${basePath}/monitors.log</property>
         <property name="monitors_filePattern">${basePath}/monitors-%d{yyyy-MM-dd}-%i.log.gz</property>
+        <property name="last_modify_time">10d</property>

Review Comment:
   Can increase the default number of saved days to 15 days?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org