mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Logging improvements
This commit is contained in:
parent
ebe66beab2
commit
0784630d38
2 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ function GetApp(): ModuleType {
|
|||
// -------------------------------------------------------------
|
||||
|
||||
app.get('/getDbs', (req: Request, res: any) => {
|
||||
// logger.LogReq(req)
|
||||
logger.LogReq(req)
|
||||
res.json(
|
||||
questionDbs.map((qdb) => {
|
||||
return {
|
||||
|
|
|
@ -160,7 +160,7 @@ const excludeFromStats = utils.ReadJSON(statExcludeFile)
|
|||
|
||||
app.use(
|
||||
reqlogger({
|
||||
loggableKeywords: [],
|
||||
loggableKeywords: ['news.json'],
|
||||
loggableModules: [],
|
||||
exceptions: ['_next/static'],
|
||||
excludeFromStats: excludeFromStats,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue