UDPOutputter and JRuby
dnajd opened this issue · 1 comments
dnajd commented
I'm writing a monitoring service for REST api's using ruby and Log4r. I'm running it under JRuby 1.7.1 so I can use threading.
Only under JRuby, I get this error...
Log4r::ConfigError:
Problem creating outputter: can't convert String into Integer
The line that errors is:
Configurator.load_xml_file('log4r_config.xml')
Playing around with the config file, I narrowed it down to the "port" setting for my UDPOutputter outputter
123456
Would it be possible to fix this JRuby compatibility issue? Or maybe I'm doing something wrong. Again this works perfectly under regular ruby.
colbygk commented
Looking...