Skip to content

Commit

Permalink
#875: Reduce logging noise on starting hawtio.
Browse files Browse the repository at this point in the history
  • Loading branch information
davsclaus committed Dec 18, 2013
1 parent 968e282 commit 6db51f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hawtio-web/src/main/webapp/app/core/js/corePlugin.ts
Expand Up @@ -386,7 +386,7 @@ angular.module(Core.pluginName, ['bootstrap', 'ngResource', 'ui', 'ui.bootstrap.
if (rate > 0) {
jolokia.start(rate);
}
Core.log.info("Set update rate to: ", rate);
Core.log.debug("Set update rate to: ", rate);
});

$rootScope.$emit('UpdateRate', localStorage['updateRate']);
Expand Down Expand Up @@ -445,7 +445,7 @@ angular.module(Core.pluginName, ['bootstrap', 'ngResource', 'ui', 'ui.bootstrap.

setTimeout(() => {
$("#main-body").fadeIn(2000).after(() => {
Core.log.info("<strong>Hawtio started!</strong>");
Core.log.info(branding.appName + " started");
});
}, 500);

Expand Down
Expand Up @@ -3,7 +3,7 @@
*/
module Core {

export var log:Logging.Logger = Logger.get("Preference");
export var log:Logging.Logger = Logger.get("Core");

/**
* Parsers the given value as JSON if it is define
Expand Down
4 changes: 2 additions & 2 deletions hawtio-web/src/main/webapp/index.html
Expand Up @@ -293,10 +293,10 @@ <h2 title="Status Code: {{connectFailure.status}}">Cannot Connect: {{connectFail
<script type="text/javascript">
hawtioPluginLoader.setLoaderCallback({
scriptLoaderCallback: function (self, total, remaining) {
Logger.get("Core").info("Total scripts: ", total, " Remaining: ", remaining);
Logger.get("Core").debug("Total scripts: ", total, " Remaining: ", remaining);
},
urlLoaderCallback: function (self, total, remaining) {
Logger.get("Core").info("Total URLs: ", total, " Remaining: ", remaining);
Logger.get("Core").debug("Total URLs: ", total, " Remaining: ", remaining);
}
});
</script>
Expand Down

0 comments on commit 6db51f8

Please sign in to comment.