You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/09/18 15:20:21 UTC
[1/2] twig commit: updated refs/heads/master to ec94988
Repository: couchdb-twig
Updated Branches:
refs/heads/master 9393f4d95 -> ec9498818
Fix logging of invalid Unicode data
The io:put_chars/1 function attempts to handle unicode conversions. This
would break when attempting to log a binary like <<255>> (which happens
to exist in #view_query_args{}). This just switches the call to
io:format/2 which does no Unicode conversion.
This bug should only affect dbcore nodes where no rsyslog host is
specified (namely, local development clusters).
BugzId: 30437
Project: http://git-wip-us.apache.org/repos/asf/couchdb-twig/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-twig/commit/d9757ad7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-twig/tree/d9757ad7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-twig/diff/d9757ad7
Branch: refs/heads/master
Commit: d9757ad76a1046c7f858ea07ddcf0bf1dbfb6fef
Parents: ea18f4f
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon Apr 28 23:21:23 2014 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Sep 18 14:07:10 2015 +0100
----------------------------------------------------------------------
src/twig_event_handler.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/d9757ad7/src/twig_event_handler.erl
----------------------------------------------------------------------
diff --git a/src/twig_event_handler.erl b/src/twig_event_handler.erl
index d7b691b..9c69d9b 100644
--- a/src/twig_event_handler.erl
+++ b/src/twig_event_handler.erl
@@ -101,7 +101,7 @@ write(Level, MsgId, Msg, Pid, State) when is_list(Msg); is_binary(Msg) ->
send(Socket, Host, Port, [Pre, Msg, $\n]).
send(_, undefined, _, Packet) ->
- io:put_chars(Packet);
+ io:format("~s", [Packet]);
send(Socket, Host, Port, Packet) ->
gen_udp:send(Socket, Host, Port, Packet).
[2/2] twig commit: updated refs/heads/master to ec94988
Posted by rn...@apache.org.
Merge remote-tracking branch 'cloudant/unicode'
Project: http://git-wip-us.apache.org/repos/asf/couchdb-twig/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-twig/commit/ec949881
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-twig/tree/ec949881
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-twig/diff/ec949881
Branch: refs/heads/master
Commit: ec9498818601896dbd931b099477bd02db8ecc24
Parents: 9393f4d d9757ad
Author: Robert Newson <rn...@apache.org>
Authored: Fri Sep 18 14:20:07 2015 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Sep 18 14:20:07 2015 +0100
----------------------------------------------------------------------
src/twig_event_handler.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/ec949881/src/twig_event_handler.erl
----------------------------------------------------------------------