Change Log File Name

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-

The Bro logging framework documentation describes how to rename
a log file: