From fb438bf1a0c62e89b5b8a42f8668d3f510533123 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Tue, 9 Apr 2013 13:26:18 +0200 Subject: max_depth added --- misc/freeswitch/scripts/common/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/freeswitch/scripts/common/log.lua') diff --git a/misc/freeswitch/scripts/common/log.lua b/misc/freeswitch/scripts/common/log.lua index b9893ac..7201d2a 100644 --- a/misc/freeswitch/scripts/common/log.lua +++ b/misc/freeswitch/scripts/common/log.lua @@ -38,7 +38,7 @@ function Log.message(self, log_level, message_arguments ) if type(index) == 'number' then if type(value) == 'table' then require 'common.array'; - message = message .. common.array.to_json(value); + message = message .. common.array.to_json(value, 3); else message = message .. tostring(value); end -- cgit v1.2.3