Explorar o código

UI: Increase size of log buffer

Dumping config json from nlohmann requires more than 4096 bytes
Ruwen Hahn hai 1 ano
pai
achega
43a1b30994
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      UI/obs-app.cpp

+ 1 - 1
UI/obs-app.cpp

@@ -386,7 +386,7 @@ static inline bool too_many_repeated_entries(fstream &logFile, const char *msg,
 static void do_log(int log_level, const char *msg, va_list args, void *param)
 {
 	fstream &logFile = *static_cast<fstream *>(param);
-	char str[4096];
+	char str[8192];
 
 #ifndef _WIN32
 	va_list args2;