mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Typo fix and baselines for hooking the log framework.
This commit is contained in:
parent
e755bf1b54
commit
a4998f3780
3 changed files with 29 additions and 1 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
#separator \x09
|
||||||
|
#set_separator ,
|
||||||
|
#empty_field (empty)
|
||||||
|
#unset_field -
|
||||||
|
#path factor-mod5
|
||||||
|
#open 2013-03-25-02-00-12
|
||||||
|
#fields num factorial_num
|
||||||
|
#types count count
|
||||||
|
5 120
|
||||||
|
6 720
|
||||||
|
7 5040
|
||||||
|
8 40320
|
||||||
|
9 362880
|
||||||
|
10 3628800
|
||||||
|
#close 2013-03-25-02-00-12
|
|
@ -0,0 +1,13 @@
|
||||||
|
#separator \x09
|
||||||
|
#set_separator ,
|
||||||
|
#empty_field (empty)
|
||||||
|
#unset_field -
|
||||||
|
#path factor-non5
|
||||||
|
#open 2013-03-25-02-00-12
|
||||||
|
#fields num factorial_num
|
||||||
|
#types count count
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
3 6
|
||||||
|
4 24
|
||||||
|
#close 2013-03-25-02-00-12
|
|
@ -29,7 +29,7 @@ function factorial(n: count): count
|
||||||
|
|
||||||
event bro_init()
|
event bro_init()
|
||||||
{
|
{
|
||||||
Log::create_stream(LOG, [$columns=Info, $ev=log_factorial]);
|
Log::create_stream(LOG, [$columns=Info, $ev=log_factor]);
|
||||||
}
|
}
|
||||||
|
|
||||||
event bro_done()
|
event bro_done()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue