...and another small change to error handling -> now errors in single lines

do not kill processing, but simply ignore the line, log it, and continue.
This commit is contained in:
Bernhard Amann 2012-08-27 11:38:20 -07:00
parent 5c486dae7e
commit 56fa56ffa9
4 changed files with 32 additions and 20 deletions

View file

@ -13,17 +13,10 @@
#types int count
12129223372036854775800 121218446744073709551612
9223372036854775801TEXTHERE 1Justtext
Justtext 1
9223372036854775800 -18446744073709551612
@TEST-END-FILE
@TEST-START-FILE input2.log
#separator \x09
#fields i c
#types int count
Justtext 1
@TEST-END-FILE
@load frameworks/communication/listen
global outfile: file;
@ -51,5 +44,5 @@ event bro_init()
event Input::update_finished(name: string, source:string)
{
print outfile, servers;
Input::add_table([$source="../input2.log", $name="ssh2", $idx=Idx, $val=Val, $destination=servers]);
terminate();
}