[Documentation] How to set log level in v1
See original GitHub issueI have an issue with log level
settings. I use to set it like this:
io.set('log level', 1);
But now the server is returning an warning:
Option log level is not valid. Please refer to the README.
When I referred to the README I could not find any reference of log level
.
I’ve also search in the source of socketio and could not find anything.
What is the equivalent of this option in v1
?
Cheers, Maxime
Issue Analytics
- State:
- Created 9 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Overriding Logging Levels — CrafterCMS 3.1.27 documentation
Temporarily Set Logging Levels · Click on mainMenu Main Menu · Click on Logging Levels · Find the class/package you want to change...
Read more >Configure Log Levels | Tetrate Documentation
This document describes how to adjust log levels for the different components in TSB, including platform components, Envoy sidecars and ingress gateways at ......
Read more >Logging Control — hyperledger-fabricdocs master ...
The default logging level for the shim is LogDebug . Below is a simple example of how a chaincode might create a private...
Read more >loglevel - npm
Log things at a given level (trace/debug/info/warn/error) to the console object (as seen in all modern browsers & node. · Filter logging by...
Read more >Set Log Levels | Mendix Documentation
Each application has a log to which it writes log messages to monitor the health of the running application. Log levels are used...
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
“We’ll document this on the website under /docs/debugging”
This page can’t be found. For a newcomer to node.js this is bad documented. Still no idea what specific notation is expected after DEBUG= …
e.g.: DEBUG=socket.io node chat_ui.js SyntaxError: Unexpected identifier (pointing to node)
I’ve been having the same issue, I’ve tried implementing the corrective measures on this page and yet I get the optional warning message ultimately causing my app not to function. How do I really fix this?