diff --git a/web/js/logger.js b/web/js/logger.js index 437810b23..050b2cecb 100644 --- a/web/js/logger.js +++ b/web/js/logger.js @@ -54,7 +54,6 @@ function logReport( level, message, file, line ) { /* eslint-disable no-caller */ if ( arguments && arguments.callee && arguments.callee.caller && arguments.callee.caller.caller && arguments.callee.caller.caller.name ) { message += ' - '+arguments.callee.caller.caller.name+'()'; - //console.log("arguments"); } var data = { @@ -75,7 +74,7 @@ function logReport( level, message, file, line ) { if ( line ) data.line = line; - $j.getJSON(thisUrl, data); + $j.post(thisUrl, data, null, 'json'); } function Panic(message) {