# HG changeset patch # User Yaroslav Zhuravlev # Date 1522933431 -10800 # Node ID 6c7841469ec54c5c224d42fc6a4a655a7ef34c6a # Parent 4cafd82e50079fd1156bb5b8254df17826d97aad Specified logging level for the "log" argument in njs. diff --git a/xml/en/docs/http/ngx_http_js_module.xml b/xml/en/docs/http/ngx_http_js_module.xml --- a/xml/en/docs/http/ngx_http_js_module.xml +++ b/xml/en/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ + rev="9">
@@ -211,6 +211,7 @@ nginx variables object, read-only log(string) writes a string to the error log +on the info level of logging diff --git a/xml/en/docs/stream/ngx_stream_js_module.xml b/xml/en/docs/stream/ngx_stream_js_module.xml --- a/xml/en/docs/stream/ngx_stream_js_module.xml +++ b/xml/en/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ + rev="10">
@@ -300,6 +300,7 @@ The session object has the following met log(string) writes a sent string to the error log +on the info level of logging diff --git a/xml/ru/docs/http/ngx_http_js_module.xml b/xml/ru/docs/http/ngx_http_js_module.xml --- a/xml/ru/docs/http/ngx_http_js_module.xml +++ b/xml/ru/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ + rev="9">
@@ -212,6 +212,7 @@ function baz(req, res) { log(строка) записывает строку в лог-файл ошибок +на уровне лога info diff --git a/xml/ru/docs/stream/ngx_stream_js_module.xml b/xml/ru/docs/stream/ngx_stream_js_module.xml --- a/xml/ru/docs/stream/ngx_stream_js_module.xml +++ b/xml/ru/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ + rev="10">
@@ -305,6 +305,7 @@ true, если текущий буфер является буфером от проксируемого сервера к клиенту, log(строка) записывает отправленную строку в лог-файл ошибок +на уровне лога info