# flushing files to the disk

**URL:** <https://community.zeek.org/t/flushing-files-to-the-disk/135>\
**Category:** Zeek\
**Created:** [March 7, 2001, 6:32pm UTC](https://community.zeek.org/t/flushing-files-to-the-disk/135 "2001-03-07T18:32:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)\
**Post date:** [March 7, 2001, 6:32pm UTC](https://community.zeek.org/t/flushing-files-to-the-disk/135/1 "2001-03-07T18:32:06Z")

</div>

> &nbsp;&nbsp;I need to flush my log files. I have experienced Bro not flushing  
> the files when being stop (Control C). I've read in the manual that there  
> was  
> a flush\_all() function and I tried to use it but it does not work  
> (unrecognized  
> variable). Does it need some special setting to work.
> 
> I'm using Bro version 0.6.

flush\_all() was added with Bro 0.7, available as a prerelease from

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ftp://ftp.ee.lbl.gov/.vp-bro-pub-0.7a48.tar.gz

Note that HUP'ing Bro 0.7 will by default cause flush\_all() to be invoked.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<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:36pm UTC](https://community.zeek.org/t/flushing-files-to-the-disk/135/2 "2022-05-06T15:36:16Z")

</div>


