# HG changeset patch # User Yaroslav Zhuravlev # Date 1659970987 -3600 # Node ID 0280b6c71d388f0fb535a2c64adfa733156c26ca # Parent d8162f6cee3832bbdde2722973d4682c567594a5 Added note about string length to log methods in njs. diff -r d8162f6cee38 -r 0280b6c71d38 xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml Fri Aug 05 12:21:34 2022 +0400 +++ b/xml/en/docs/njs/reference.xml Mon Aug 08 16:03:07 2022 +0100 @@ -9,7 +9,7 @@
+ rev="85">
@@ -111,6 +111,14 @@ writes a string to the error log on the error level of logging + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + + r.finish() @@ -248,6 +256,14 @@ writes a string to the error log on the info level of logging + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + + r.method @@ -559,6 +575,14 @@ writes a string to the error log on the warning level of logging + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + + @@ -642,6 +666,14 @@ writes a sent string to the error log on the error level of logging + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + + s.log(string) @@ -654,6 +686,14 @@ unregisters the callback set by the s.on() method (0.2.4) + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + + s.on(event, @@ -790,6 +830,14 @@ writes a sent string to the error log on the warning level of logging + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + + @@ -976,6 +1024,14 @@ ngx.INFO, ngx.WARN, and ngx.ERR. + + +As nginx has a +hardcoded +maximum line length limit, +only first 2048 bytes of the string can be logged. + +