Kaynağa Gözat

HUE-4130 [core] Triple amount of lines in the /logs page

Jenny Kim 9 yıl önce
ebeveyn
işleme
724f8f7b0e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      desktop/core/src/desktop/log/__init__.py

+ 1 - 1
desktop/core/src/desktop/log/__init__.py

@@ -190,7 +190,7 @@ def fancy_logging():
   """Configure logging into a buffer for /logs endpoint."""
   from log_buffer import FixedBufferHandler
 
-  BUFFER_SIZE = 500 * 200 # This is the size in characters, not bytes. Targets about 500 rows.
+  BUFFER_SIZE = 1500 * 200 # This is the size in characters, not bytes. Targets about 1500 rows.
   buffer_handler = FixedBufferHandler(BUFFER_SIZE)
   _formatter = formatter.Formatter(LOG_FORMAT, DATE_FORMAT)