summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-09 13:26:18 +0200
committerPeter Kozak <spag@golwen.net>2013-04-09 13:26:18 +0200
commitfb438bf1a0c62e89b5b8a42f8668d3f510533123 (patch)
tree77a20d58ce8873125c15e5880213480c92393b3c
parent58741154e0147ee878b093fc25051ef9d1b93e4a (diff)
max_depth added
-rw-r--r--misc/freeswitch/scripts/common/log.lua2
1 files changed, 1 insertions, 1 deletions
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