# Change Log File Name

**URL:** <https://community.zeek.org/t/change-log-file-name/3657>\
**Category:** Zeek\
**Created:** [June 16, 2015, 4:55pm UTC](https://community.zeek.org/t/change-log-file-name/3657 "2015-06-16T16:55:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gmail](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@Gmail](https://community.zeek.org/u/Gmail)\
**Post date:** [June 16, 2015, 4:55pm UTC](https://community.zeek.org/t/change-log-file-name/3657/1 "2015-06-16T16:55:05Z")

</div>

Greetings,  
I am feeding various pcaps to Bro and I would like to keep separate DNS log files for each one. Is there a good way to change the name of the dns.log file to include a timestamp? For example, dns201506161254.log. Thanks!

-Eddie Romito-

---

<div class="post-metadata">

**Author:** ![Daniel\_Thayer](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@Daniel\_Thayer](https://community.zeek.org/u/Daniel_Thayer)\
**Post date:** [June 17, 2015, 5:38pm UTC](https://community.zeek.org/t/change-log-file-name/3657/2 "2015-06-17T17:38:08Z")

</div>

The Bro logging framework documentation describes how to rename  
a log file: [https://www.bro.org/sphinx/frameworks/logging.html](https://www.bro.org/sphinx/frameworks/logging.html)

---

<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:42pm UTC](https://community.zeek.org/t/change-log-file-name/3657/3 "2022-05-06T15:42:46Z")

</div>


