Switches from slf4j-nop to log4j. Uses built in logstash log4j setup. Switches to jar-dependencies (vendor'ed) instead of version controlled jars. Update logstash-api to v2. Does not yet support multi_recieve

This commit is contained in:
Karl Southern
2016-05-13 22:12:57 +01:00
parent d056093ab8
commit df811f3d29
10 changed files with 58 additions and 24 deletions

View File

@@ -83,7 +83,7 @@ RSpec.shared_context 'when outputting messages' do
# Verify the number of items in the output table
c = plugin.instance_variable_get(:@pool).getConnection()
stmt = c.prepareStatement("select count(*) as total from #{jdbc_test_table} where message = ?")
stmt.setString(1, event['message'])
stmt.setString(1, event.get('message'))
rs = stmt.executeQuery()
count = 0
while rs.next()