use verbose instead of trace log

This commit is contained in:
soulgalore 2017-03-27 21:14:18 +02:00
parent 14a8a1f962
commit aed6d5c549
5 changed files with 5 additions and 5 deletions

View File

@ -130,7 +130,7 @@ module.exports = {
this.options.resultDir = dir
}).then(() => analyzer.analyzeUrl(url, this.options))
.tap((results) => {
log.trace('Result from Browsertime for %s with %:2j', url, results);
log.verbose('Result from Browsertime for %s with %:2j', url, results);
})
.tap((results) => {

View File

@ -27,7 +27,7 @@ module.exports = {
return analyzer.analyzeUrl(url, this.options)
.then((result) => {
log.info('Got ' + url + ' analysed from Google Page Speed Insights');
log.trace('Result from Google Page Speed Insights:%:2j', result);
log.verbose('Result from Google Page Speed Insights:%:2j', result);
queue.postMessage(make('gpsi.pageSummary', result, {
url,
group

View File

@ -38,7 +38,7 @@ module.exports = {
}
return new Promise((resolve, reject) => {
log.trace('Send annotation to Graphite: %j', postData);
log.verbose('Send annotation to Graphite: %j', postData);
// not perfect but maybe work for us
const lib = options.graphite.httpPort === 443 ? https : http;
const req = lib.request(postOptions, (res) => {

View File

@ -12,7 +12,7 @@ class GraphiteSender {
send(data) {
log.info('Send data to Graphite %s:%s', this.host, this.port);
log.trace('Sending ' + data);
log.debug('Sending ' + data);
return new Promise((resolve, reject) => {
let socket = net.connect(this.port, this.host, () => {
socket.write(data);

View File

@ -27,7 +27,7 @@ module.exports = {
.then(function(data) {
var id = data.data.id;
log.info('Got ' + url + ' analysed from ' + options.host);
log.trace('Got JSON from WebPageTest :%:2j', data);
log.verbose('Got JSON from WebPageTest :%:2j', data);
const promises = [];
promises.push(wptClient.getHARDataAsync(id, {}));