Add configuration option to disable console debugging
See original GitHub issueExpected behavior
To be able to configure the console debugging verbosity
Observed behavior
In the console, [bugsnag] Loaded
is printed during every app load. Consequently the console output in our end to end testing suite gets filled with those messages.
Steps to reproduce
Load an application with bugsnag in the browswer, and notice in the console that [bugsnag] Loaded!
is printed there
Version
4.0.3
Additional information
This seems to be the line in question.
This is really just an issue for us in our testing environment, so being able to configure the verbosity level, or suppressing that one line would be great. Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Debugging in Visual Studio Code
Choose Add Configuration option in the Run menu. ... As soon as a debugging session starts, the DEBUG CONSOLE panel is displayed and...
Read more >Add option for debugging [#2987451] | Drupal.org
We can have a simple checkbox to enable/disable debugging in the configuration form, and the value of this checkbox can be used in...
Read more >Disable debugging for ASP.NET application - Microsoft Learn
Method 1: Modify the Web.config file ... To disable debugging, add the compilation element to the Web.config file of the application by following ......
Read more >How to quickly and conveniently disable all console.log ...
Redefine the console.log function in your script. console.log = function() {}. That's it, no more messages to console. EDIT: Expanding on Cide's idea....
Read more >How to Disable Console Logging in Spring Boot - Baeldung
This configuration can be customized by adding a logback-spring.xml file to our resources. For example, let's set up the XML so as to...
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
Hey everyone, thanks for your patience! This is now published in v4.6.0.
You can now switch logging off entirely via
Since you can do everything you need with either
logger: null
orlogger: customLogger
we figured alogLevel
option was surplus.+1
It’d really be nice if output could be muted. Having
[bugsnag] Loaded!
in the console for a production app isn’t ideal.