# HG changeset patch # User Maxim Dounin # Date 1718510130 -10800 # Node ID 27532d42102bb58bff34ca3f2b7020a8c1634786 # Parent 23b9cbb0c11de936ca3bca0c1c67528f7ba0fd51 Documented the "rate" parameter of the "error_log" directive. diff -r 23b9cbb0c11d -r 27532d42102b xml/en/docs/ngx_core_module.xml --- a/xml/en/docs/ngx_core_module.xml Fri Jun 14 22:35:31 2024 +0300 +++ b/xml/en/docs/ngx_core_module.xml Sun Jun 16 06:55:30 2024 +0300 @@ -10,7 +10,7 @@ + rev="29">
@@ -209,7 +209,10 @@ -file [level] + + file + [level] + [rate=rate] logs/error.log error main http @@ -258,7 +261,20 @@ be built with --with-debug, see “”. + + +The rate parameter (1.27.2) specifies +the maximum allowed logging rate in messages per second (m/s) +for each worker process. +By default, rate=1000m/s is used. +Setting rate to 0 disables rate limiting. +Additionally, rate limiting is not used +if logging level is set to debug or +debugging log is enabled for the connection. + + + The directive can be specified on the stream level diff -r 23b9cbb0c11d -r 27532d42102b xml/ru/docs/ngx_core_module.xml --- a/xml/ru/docs/ngx_core_module.xml Fri Jun 14 22:35:31 2024 +0300 +++ b/xml/ru/docs/ngx_core_module.xml Sun Jun 16 06:55:30 2024 +0300 @@ -10,7 +10,7 @@ + rev="29">
@@ -208,7 +208,10 @@ -файл [уровень] + + файл + [уровень] + [rate=скорость] logs/error.log error main http @@ -256,7 +259,20 @@ nginx с --with-debug, см. “”. + + +Параметр rate (1.27.2) задаёт +максимально допустимую скорость записи в лог в сообщениях в секунду (m/s) +для каждого рабочего процесса. +По умолчанию используется rate=1000m/s. +Установка скорости в 0 отключает ограничение скорости. +Кроме того, ограничение скорости не используется, +если уровень лога установлен в debug или +отладочный лог включён для соединения. + + + Директива может быть указана на уровне stream