Permalink
Browse files

Merge pull request #2 from pcting/master

Fix for UDPOutputter
  • Loading branch information...
2 parents 3489cde + 2498768 commit 3f250826485027e2f0e79cfef7ddcfafe4c90e59 Colby Gutierrez-Kraybill committed May 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/log4r/outputter/udpoutputter.rb
@@ -17,8 +17,8 @@ class UDPOutputter < Outputter
def initialize(_name, hash={})
super(_name, hash)
- @host = hash[:hostname]
- @port = hash[:port]
+ @host = (hash[:hostname] or hash["hostname"])
+ @port = (hash[:port] or hash["port"])
begin
Logger.log_internal {

0 comments on commit 3f25082

Please sign in to comment.