You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/04/13 08:40:36 UTC

[GitHub] [iotdb] wangchao316 commented on a change in pull request #2999: Increase the limited log file size

wangchao316 commented on a change in pull request #2999:
URL: https://github.com/apache/iotdb/pull/2999#discussion_r612249090



##########
File path: server/src/assembly/resources/conf/logback.xml
##########
@@ -46,7 +46,7 @@
         <file>${IOTDB_HOME}/logs/log_warn.log</file>
         <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
             <fileNamePattern>${IOTDB_HOME}/logs/log-warn-%d{yyyyMMdd-HH}.%i.log.gz</fileNamePattern>
-            <maxFileSize>10MB</maxFileSize>
+            <maxFileSize>200MB</maxFileSize>

Review comment:
       If the value of maxfilesize is large and logs are queried and written during log compression, performance jitters may occur. This has been a problem in our production environment.




-- 
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.

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