From 3d5eb18530a7f854ccc511afc19cff01a7f5f817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 19 Aug 2015 17:30:07 +0200 Subject: [PATCH] Less verbose logging for view model calling helper --- src/octoprint/static/js/app/helpers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/octoprint/static/js/app/helpers.js b/src/octoprint/static/js/app/helpers.js index efc3fd6a..5759670f 100644 --- a/src/octoprint/static/js/app/helpers.js +++ b/src/octoprint/static/js/app/helpers.js @@ -653,11 +653,11 @@ function callViewModelsIf(allViewModels, method, condition, callback) { if (callback == undefined) { // directly call view model method with no parameters parameters = undefined; - log.debug("Calling method", method, "on view models"); + log.trace("Calling method", method, "on view models"); } else if (_.isArray(callback)) { // directly call view model method with these parameters parameters = callback; - log.debug("Calling method", method, "on view models with specified parameters", parameters); + log.trace("Calling method", method, "on view models with specified parameters", parameters); } else { // ok, this doesn't make sense, callback is neither undefined nor // an array, we'll return without doing anything @@ -668,7 +668,7 @@ function callViewModelsIf(allViewModels, method, condition, callback) { // the method directly callback = undefined; } else { - log.debug("Providing method", method, "on view models to specified callback", callback); + log.trace("Providing method", method, "on view models to specified callback", callback); } _.each(allViewModels, function(viewModel) {