From d77ed689e69c6db402cf8311b402f073172c35b1 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 6 May 2019 15:36:49 +0100 Subject: Quieten dukky a little more in default log levels Signed-off-by: Daniel Silverstone --- content/handlers/javascript/duktape/dukky.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/handlers/javascript/duktape/dukky.c b/content/handlers/javascript/duktape/dukky.c index c3b956902..70e9be881 100644 --- a/content/handlers/javascript/duktape/dukky.c +++ b/content/handlers/javascript/duktape/dukky.c @@ -804,17 +804,17 @@ js_exec(jscontext *ctx, const uint8_t *txt, size_t txtlen, const char *name) DUK_COMPILE_EVAL, (const char *)txt, txtlen) != 0) { - NSLOG(dukky, INFO, "Failed to compile JavaScript input"); + NSLOG(dukky, DEBUG, "Failed to compile JavaScript input"); goto handle_error; } if (duk_pcall(CTX, 0/*nargs*/) == DUK_EXEC_ERROR) { - NSLOG(dukky, INFO, "Failed to execute JavaScript"); + NSLOG(dukky, DEBUG, "Failed to execute JavaScript"); goto handle_error; } if (duk_get_top(CTX) == 0) duk_push_boolean(CTX, false); - NSLOG(dukky, INFO, "Returning %s", + NSLOG(dukky, DEEPDEBUG, "Returning %s", duk_get_boolean(CTX, 0) ? "true" : "false"); return duk_get_boolean(CTX, 0); -- cgit v1.2.3