# How to set the common log file directory for Bro 2.0?

**URL:** <https://community.zeek.org/t/how-to-set-the-common-log-file-directory-for-bro-2-0/2434>\
**Category:** Zeek\
**Created:** [September 6, 2012, 8:27pm UTC](https://community.zeek.org/t/how-to-set-the-common-log-file-directory-for-bro-2-0/2434 "2012-09-06T20:27:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Huiping\_Song](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@Huiping\_Song](https://community.zeek.org/u/Huiping_Song)\
**Post date:** [September 6, 2012, 8:27pm UTC](https://community.zeek.org/t/how-to-set-the-common-log-file-directory-for-bro-2-0/2434/1 "2012-09-06T20:27:06Z")

</div>

When starting up bro from the command line (for example: bro –i eth0 local ), the log files are always written to the directory from which bro utility is invoked.

When not using BroControl, is there any way to configure bro to write log files to a common directory like “/usr/local/bro/logs”? Any command line option or a quick script customization for doing so?

Thank you,

Huiping

---

<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:40pm UTC](https://community.zeek.org/t/how-to-set-the-common-log-file-directory-for-bro-2-0/2434/2 "2022-05-06T15:40:34Z")

</div>


