Enhancement: clean-up logLevel/disableLogs
See original GitHub issueWhat version of Wrangler
are you using?
2.1.4
What operating system are you using?
Mac
Describe the Bug
We don’t need to prop-drill.
LOGGER_LEVELS
in logger.ts needs two new options:noRoutes: -2
andnone: -1
- doLog’s messageLevel type becomes
Exclude<LoggerLevel, "none" | "noRoutes">,
- formatMessage’s level type becomes
Exclude<LoggerLevel, "none" | "noRoutes">
When logLevel comes in via CLI, set the global logger’s logLevel.
When we disable Miniflare’s route logger, read the global logger’s logLevel, and use that instead of disableLogs
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Improvement: Reduce the amount of logging #269 - GitHub
Solution wise, first is to strip out all but the most necessary logging calls in the repository. Then it's either not to commit...
Read more >Configure Logging Options - VMware Docs
In the vSphere Client, navigate to the vCenter Server instance. · Select the Configure tab. · Under Settings, select General. · Click Edit....
Read more >Manage automatic logging | New Relic Documentation
You can disable (or re-enable) automatic log forwarding across your entire account via the APM log settings UI or the API. You can...
Read more >Enable/Disable Logging In Mule 4 | Mulesoft Tutorials
You create a project in anypoint studio log4j.xml file automatically created which is useful to change the log level or to enable/disable the...
Read more >Logging settings in Kibana - Elastic
Options are all , fatal , error , warn , info , debug , trace , off . The all and off levels...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure thing. Sorry for derailing this one 😉
No need to apologize, we appreciate all involvement.