trace -> debug for Gopher access logs

This commit is contained in:
Bryan Ashby 2018-07-07 20:01:52 -06:00
parent d392865aa3
commit 89bce2c23c
1 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ exports.getModule = class GopherModule extends ServerModule {
} }
defaultGenerator(selectorMatch, cb) { defaultGenerator(selectorMatch, cb) {
this.log.trace( { selector : selectorMatch[0] }, 'Serving default content'); this.log.debug( { selector : selectorMatch[0] }, 'Serving default content');
let bannerFile = _.get(Config(), 'contentServers.gopher.bannerFile', 'startup_banner.asc'); let bannerFile = _.get(Config(), 'contentServers.gopher.bannerFile', 'startup_banner.asc');
bannerFile = paths.isAbsolute(bannerFile) ? bannerFile : paths.join(__dirname, '../../../misc', bannerFile); bannerFile = paths.isAbsolute(bannerFile) ? bannerFile : paths.join(__dirname, '../../../misc', bannerFile);
@ -172,7 +172,7 @@ exports.getModule = class GopherModule extends ServerModule {
} }
notFoundGenerator(selector, cb) { notFoundGenerator(selector, cb) {
this.log.trace( { selector }, 'Serving not found content'); this.log.debug( { selector }, 'Serving not found content');
return cb('Not found'); return cb('Not found');
} }
@ -205,7 +205,7 @@ exports.getModule = class GopherModule extends ServerModule {
} }
messageAreaGenerator(selectorMatch, cb) { messageAreaGenerator(selectorMatch, cb) {
this.log.trace( { selector : selectorMatch[0] }, 'Serving message area content'); this.log.debug( { selector : selectorMatch[0] }, 'Serving message area content');
// //
// Selector should be: // Selector should be:
// /msgarea - list confs // /msgarea - list confs