diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2020-04-20 21:46:47 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2020-04-20 21:46:47 +0300 |
commit | 0c6fc98c7578a47f5fea3fd388695fdffb5cd8a4 (patch) | |
tree | 7937caf30ffe95e81de0dcb2f91df83878c12ad1 /src/libs/zbxembed/zabbix.c | |
parent | c90ae8ca249785a0a91fc2c3589f5d478cbbe8d0 (diff) |
........S. [ZBXNEXT-5877] limit log size
Diffstat (limited to 'src/libs/zbxembed/zabbix.c')
-rw-r--r-- | src/libs/zbxembed/zabbix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxembed/zabbix.c b/src/libs/zbxembed/zabbix.c index d641dc33e3a..90a058ca874 100644 --- a/src/libs/zbxembed/zabbix.c +++ b/src/libs/zbxembed/zabbix.c @@ -92,7 +92,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.", + return duk_error(ctx, DUK_RET_TYPE_ERROR, "log exceeds the maximum size of " ZBX_FS_UI64 " bytes.", ZBX_ES_LOG_MEMORY_LIMIT); } |