hide info messages
See original GitHub issueI tried to find in the documentation how to configure Consola for production, but I couldn’t. Tell me how to turn off the Consola for production and leave it for development and tests?
something like
production: true
in instance settings
As a result, when node_env is not production logs will not be displayed.Or is there no such setting and you need to make your own wrapper?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to stop INFO messages displaying on spark console?
You set disable the Logs by setting its level to OFF as follows: Logger.getLogger("org ...
Read more >Spark - Stop INFO & DEBUG message logging to console?
Now, Let's see how to stop/disable/turn off logging DEBUG and INFO messages to the console or to a log file. Using sparkContext.setLogLevel() ...
Read more >How to control log settings in Spark and stop INFO messages?
How to control log settings in Spark and stop INFO messages? · Here is an example of log messages that you might see...
Read more >Suppress Info Messages - Pwdatools new
In order to suppress warning messages, set logging level to 'error'. After executring this line of code, any warning or info messages will...
Read more >How to hide info messages when adding role - ServiceNow
Solved: Hello Team, Is it possible to hide info messages displayed when adding roles. currently when we add a role to a particular...
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
@pi0 Awesome! thank you very much!
You can set
CONSOLA_LEVEL=1
environment variable to only show warn and error (or 2 to include log as well). List of all levels: https://github.com/nuxt-contrib/consola/blob/master/src/logLevels.js