use verbose instead of trace log
This commit is contained in:
parent
14a8a1f962
commit
aed6d5c549
|
|
@ -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) => {
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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, {}));
|
||||
|
|
|
|||
Loading…
Reference in New Issue