jsonrpc: Only compose message to log if it's really going to be logged.
authorBen Pfaff <blp@nicira.com>
Fri, 25 Oct 2013 16:22:37 +0000 (09:22 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 25 Oct 2013 18:24:16 +0000 (11:24 -0700)
commit03922c9091330d93d699247bd6e5f4a8491d640b
tree788a355b3e5008c9af2df2be338715b48e744fd5
parente6e590a73ebdf2cf8a7cdc264c45c9863617e524
jsonrpc: Only compose message to log if it's really going to be logged.

This suppresses a testsuite failure when the testsuite is run from a
directory whose name contains a non-ASCII character.  I'd rather fix the
problem but webpages like the following make it sound difficult or
impossible on Python 2.x: http://stackoverflow.com/a/11742928

Signed-off-by: Ben Pfaff <blp@nicira.com>
python/ovs/jsonrpc.py
python/ovs/vlog.py