Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2020-04-20 21:42:15 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2020-04-20 21:42:15 +0300
commitc90ae8ca249785a0a91fc2c3589f5d478cbbe8d0 (patch)
tree87d2928eb3828ed6d5656f3c47bee14ec62718be /src/libs/zbxembed/zabbix.c
parent5091165d69976217cd73a34c081e77c13187672d (diff)
........S. [ZBXNEXT-5877] limit log size
Diffstat (limited to 'src/libs/zbxembed/zabbix.c')
-rw-r--r--src/libs/zbxembed/zabbix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxembed/zabbix.c b/src/libs/zbxembed/zabbix.c
index 147f7a0d340..d641dc33e3a 100644
--- a/src/libs/zbxembed/zabbix.c
+++ b/src/libs/zbxembed/zabbix.c
@@ -93,7 +93,7 @@ static duk_ret_t es_zabbix_log(duk_context *ctx)
if (ZBX_ES_LOG_MEMORY_LIMIT < env->json->buffer_size) /* approximate limit */
{
return duk_error(ctx, DUK_RET_TYPE_ERROR, "log exceeds the maximum size " ZBX_FS_UI64 " bytes.",
- ZBX_MAX_RECV_DATA_SIZE);
+ ZBX_ES_LOG_MEMORY_LIMIT);
}
return 0;