Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Start udp syslog drains from nsync.
Browse files Browse the repository at this point in the history
  • Loading branch information
archaelus committed Jan 19, 2012
1 parent 3fefd33 commit 925f392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nsync_callback.erl
Expand Up @@ -171,8 +171,8 @@ create_drain(Id, Dict) ->
logplex_drain:start(tcpsyslog, Token,
[Ch, Id, Token, Host, Port]);
_ ->
?ERR("no udp support for ~p ~p ~p:~p",
[Ch, Token, Host, Port])
logplex_drain:start(udpsyslog, Token,
[Ch, Id, Token, Host, Port])
end,
Drain = #drain{
id=Id,
Expand Down

0 comments on commit 925f392

Please sign in to comment.