You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2017/06/30 21:05:32 UTC
qpid-dispatch git commit: DISPATCH-421 Mirror toast messages to debug
console
Repository: qpid-dispatch
Updated Branches:
refs/heads/master be9a08b19 -> 2b15c8f5f
DISPATCH-421 Mirror toast messages to debug console
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/2b15c8f5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/2b15c8f5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/2b15c8f5
Branch: refs/heads/master
Commit: 2b15c8f5f91b2b2792045b4ad8882856e690fa45
Parents: be9a08b
Author: Ernest Allen <ea...@redhat.com>
Authored: Fri Jun 30 17:05:16 2017 -0400
Committer: Ernest Allen <ea...@redhat.com>
Committed: Fri Jun 30 17:05:16 2017 -0400
----------------------------------------------------------------------
console/hawtio/src/main/webapp/plugin/js/qdrList.js | 5 +++--
.../src/main/webapp/plugin/js/qdrOverviewLogsController.js | 1 +
console/stand-alone/plugin/js/qdrList.js | 5 +++--
console/stand-alone/plugin/js/qdrOverviewLogsController.js | 1 +
console/stand-alone/plugin/js/qdrService.js | 1 +
5 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/2b15c8f5/console/hawtio/src/main/webapp/plugin/js/qdrList.js
----------------------------------------------------------------------
diff --git a/console/hawtio/src/main/webapp/plugin/js/qdrList.js b/console/hawtio/src/main/webapp/plugin/js/qdrList.js
index aae2952..248c7ba 100644
--- a/console/hawtio/src/main/webapp/plugin/js/qdrList.js
+++ b/console/hawtio/src/main/webapp/plugin/js/qdrList.js
@@ -101,7 +101,7 @@ var QDR = (function(QDR) {
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
- //QDR.log.debug(context.message.statusDescription)
+ QDR.log.info('Error ' = context.message.statusDescription)
return;
}
$scope.logResults = response.filter( function (entry) {
@@ -647,10 +647,11 @@ var QDR = (function(QDR) {
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
- //QDR.log.debug(context.message.statusDescription)
+ QDR.log.info('Error ' = context.message.statusDescription)
} else {
var note = entity + " " + $filter('Pascalcase')($scope.currentMode.op) + "d"
Core.notification('success', note);
+ QDR.log.info('Success ' + note)
$scope.selectMode($scope.modes[0]);
restartUpdate();
}
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/2b15c8f5/console/hawtio/src/main/webapp/plugin/js/qdrOverviewLogsController.js
----------------------------------------------------------------------
diff --git a/console/hawtio/src/main/webapp/plugin/js/qdrOverviewLogsController.js b/console/hawtio/src/main/webapp/plugin/js/qdrOverviewLogsController.js
index b366122..510ae76 100644
--- a/console/hawtio/src/main/webapp/plugin/js/qdrOverviewLogsController.js
+++ b/console/hawtio/src/main/webapp/plugin/js/qdrOverviewLogsController.js
@@ -27,6 +27,7 @@ var QDR = (function(QDR) {
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
+ QDR.log.info('Error ' + context.message.statusDescription)
} else {
var levelLogs = response.filter( function (result) {
if (result[1] == null)
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/2b15c8f5/console/stand-alone/plugin/js/qdrList.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/qdrList.js b/console/stand-alone/plugin/js/qdrList.js
index 07e79c9..9e14897 100644
--- a/console/stand-alone/plugin/js/qdrList.js
+++ b/console/stand-alone/plugin/js/qdrList.js
@@ -101,7 +101,7 @@ var QDR = (function(QDR) {
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
- //QDR.log.debug(context.message.statusDescription)
+ QDR.log.info('Error ' + context.message.statusDescription)
return;
}
$scope.logResults = response.filter( function (entry) {
@@ -648,10 +648,11 @@ QDR.log.info("we were just disconnected while on the list page. Setting org to r
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
- QDR.log.debug(context.message.statusDescription)
+ QDR.log.info('Error ' + context.message.statusDescription)
} else {
var note = entity + " " + $filter('Pascalcase')($scope.currentMode.op) + "d"
Core.notification('success', note);
+ QDR.log.info('Success ' + note)
$scope.selectMode($scope.modes[0]);
restartUpdate();
}
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/2b15c8f5/console/stand-alone/plugin/js/qdrOverviewLogsController.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/qdrOverviewLogsController.js b/console/stand-alone/plugin/js/qdrOverviewLogsController.js
index 91f8f37..0bda9e9 100644
--- a/console/stand-alone/plugin/js/qdrOverviewLogsController.js
+++ b/console/stand-alone/plugin/js/qdrOverviewLogsController.js
@@ -27,6 +27,7 @@ var QDR = (function(QDR) {
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
+ QDR.log.info('Error ' + context.message.statusDescription)
} else {
var levelLogs = response.filter( function (result) {
if (result[1] == null)
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/2b15c8f5/console/stand-alone/plugin/js/qdrService.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/qdrService.js b/console/stand-alone/plugin/js/qdrService.js
index da1044d..82c5466 100644
--- a/console/stand-alone/plugin/js/qdrService.js
+++ b/console/stand-alone/plugin/js/qdrService.js
@@ -348,6 +348,7 @@ console.dump(e)
var statusCode = context.message.application_properties.statusCode;
if (statusCode < 200 || statusCode >= 300) {
Core.notification('error', context.message.statusDescription);
+ QDR.log.info('Error ' + context.message.statusDescription)
}
}
var attributes = {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org