[Bro] how to append to file?

hossein talebi talebihossain at gmail.com
Wed Oct 29 04:49:40 PDT 2008


Hi

i have write scripts (inside a policy)
i have write following line :
"global result_file = open_log_file("result_file")"
this led to create a new file with result_file in current directory
i want to run my policy to multi file  and put output per file in
"result_file"
but while i run my policy are create new file and overwrite to old
"result_file"

how to append output to old "result_file" without create new file(overwrite)



-- 
Talebi Mazraeh Shahi Hossein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20081029/85e98013/attachment.html 


More information about the Bro mailing list