trace -> debug for Gopher access logs
This commit is contained in:
parent
d392865aa3
commit
89bce2c23c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue