question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not disable output to console on accepted connection

See original GitHub issue

Every time a client connects to my server (debug true or false) my console prints: (8369) accepted ('10.110.156.234', 37414) I checked with werkzeug and flask but I fail to disable this message. Would you know where it is coming from?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
olingerccommented, May 2, 2017

FYI: This was a bug in eventlet which was resolved with version 0.21.0. Starting our app with socketio.run(app, log_output=False) is now finally less chatty.

0reactions
miguelgrinbergcommented, Mar 24, 2017

You can pass your own logger object to eventlet’s wsgi server in the log argument:

my_logger = logging.getLogger('my-logger')
my_logger.setLevel(logging.ERROR)
socketio.run(app, log=my_logger)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable console messages in Flask server - python
Flask apparently no longer uses logging for logging, and has switched to the click package. By overriding click.echo and click.secho I ...
Read more >
logging - how to stop console logging - Cisco Community
I set up a syslog server. But log messages stop me from doing anything on the console. How do I stop the messages?...
Read more >
Troubleshooting Session Manager - AWS Documentation
Problem 1: You want to start a session on the Start a session console page, but a managed node isn't in the list....
Read more >
Can't access SMB file server - Windows - Microsoft Learn
Resolution. To resolve this issue on a file server that is running the SMB version 1 protocol, add the DisableStrictNameChecking value to the ......
Read more >
Troubleshoot network connection errors | Xbox Support
If the wireless headset was causing the error, your console should now connect to Xbox. If the connection test is not successful, continue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found