Logs are filling with I/O messages. Sad.

This commit is contained in:
Kenneth Giusti 2017-05-17 14:04:08 -04:00
parent 7c9ab94863
commit 3bd9f54f0f
5 changed files with 16 additions and 4 deletions

View File

@ -7,6 +7,11 @@ callback-based API for message passing.
See the User Guide in the docs directory for more detail.
## Release 2.2.1 ##
* disable the socket I/O logging - fills the debug logs with lots of
useless crap.
## Release 2.2.0 ##
* Can now use the system's default CA by specifying the 'x-ssl' option

View File

@ -23,4 +23,4 @@ from pyngus.link import SenderLink, SenderEventHandler
from pyngus.sockets import read_socket_input
from pyngus.sockets import write_socket_output
VERSION = (2, 2, 0) # major, minor, fix
VERSION = (2, 2, 1) # major, minor, fix

View File

@ -70,7 +70,6 @@ def read_socket_input(connection, socket_obj):
count = Connection.EOS
connection.close_input()
connection.close_output()
LOG.debug("Socket recv %s bytes", count)
return count
@ -111,7 +110,6 @@ def write_socket_output(connection, socket_obj):
raise
if count > 0:
LOG.debug("Socket sent %s bytes", count)
connection.output_written(count)
elif data:
LOG.debug("Socket closed")

View File

@ -20,7 +20,7 @@
import os
from setuptools import setup
_VERSION = "2.2.0" # NOTE: update __init__.py too!
_VERSION = "2.2.1" # NOTE: update __init__.py too!
# I hack, therefore I am (productive) Some distros (which will not be named)
# don't use setup.py to install the proton python module. In this case, pip

View File

@ -38,6 +38,15 @@ Total: 200000 messages; credit window: 10; proton (0, 13, 1)
### Lenovo W541 ###
v2.2.1
------
Python 2.7.13 (Fedora 24)
Total: 200000 messages; credit window: 10; proton (0, 17, 0)
8176 Messages/second; Latency avg: 19.116ms min: 9.241ms max: 26.693ms
Python 3.5.3 (Fedora 24)
Total: 200000 messages; credit window: 10; proton (0, 17, 0)
7081 Messages/second; Latency avg: 22.103ms min: 10.926ms max: 40.079ms
v2.1.4
------
Python 2.7.13 (Fedora 24)