JKHeadley / JKHeadley/rest-hapi

[Bug /Question/Request?] config.loglevel

Open
#243 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
155
PR merge metrics
No merged PRs in 30d

Description

To keep it simple:

I'm trying to log what routes are called but **not the result**, and changing between :
```
* - INTERNAL use it for logging calls and other internal stuff
* - DEBUG recommended to use it for debugging applications
* - NOTE development verbose information (default)
* - INFO minor information
* - LOG significant messages
```
does not seem to do much. Am I missing something ?
If I change the `loglevel` to `WARNING` nothing shows up (maybe errors etc) but not the routes being generated for instance.

Is that the expected behavior ?

(running the latest version of everything)

Contributor guide

Open the contributing guide

Research direction

The issue names only the loglevel configuration and route generation, with no files or tests. Start by reproducing the reported behavior with each listed log level and inspect how route calls are logged. Done means documenting or correcting whether routes should appear without their results.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.