]> git.kaiwu.me - njs.git/commitdiff
Shell: increased max output size for console.log() to 32768.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 19 Jan 2023 02:33:23 +0000 (18:33 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 19 Jan 2023 02:33:23 +0000 (18:33 -0800)
src/njs_vm.c

index 4ae3e2bcc082b0fd54842ab2ea250304a58170eb..b3a1697ef2f0cc5e3915c2f6a05c1916b0417175 100644 (file)
@@ -906,7 +906,7 @@ njs_vm_logger(njs_vm_t *vm, njs_log_level_t level, const char *fmt, ...)
     u_char        *p;
     va_list       args;
     njs_logger_t  logger;
-    u_char        buf[NJS_MAX_ERROR_STR];
+    u_char        buf[32768];
 
     if (vm->options.ops == NULL) {
         return;