# bro init () method

**URL:** <https://community.zeek.org/t/bro-init-method/5787>\
**Category:** Zeek\
**Created:** [August 5, 2019, 4:26am UTC](https://community.zeek.org/t/bro-init-method/5787 "2019-08-05T04:26:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_rakesh](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@rahul\_rakesh](https://community.zeek.org/u/rahul_rakesh)\
**Post date:** [August 5, 2019, 4:26am UTC](https://community.zeek.org/t/bro-init-method/5787/1 "2019-08-05T04:26:08Z")

</div>

Hi all,

I have written simple below script in testaddedsig.bro file

**CODE:**

module Test;

event bro\_init() &priority=5  
{  
print “testaddedsig : bro init method”;

}

And also this file declared in local.bro ,like this.  
@load testaddedsig.

My doubt is , where this print stmt is printed.  
If is not printing ,then what is the problem.how to reslove it.

with regards  
ravi

---

<div class="post-metadata">

**Author:** ![Panos\_D](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@Panos\_D](https://community.zeek.org/u/Panos_D)\
**Post date:** [August 5, 2019, 6:04am UTC](https://community.zeek.org/t/bro-init-method/5787/2 "2019-08-05T06:04:25Z")

</div>

Hello Ravi,

It will print it out in your terminal, once you call the script, unless you store the result in a text file.

Best Regards

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:46pm UTC](https://community.zeek.org/t/bro-init-method/5787/3 "2022-05-06T15:46:40Z")

</div>


