Please see the below KB articles that should help you out here
Using Environment Variables/Global Variables in WAAE Job Log Filenames
https://knowledge.broadcom.com/external/article?articleId=10791
Adding a date time stamp to a standard out file name in Windows
https://knowledge.broadcom.com/external/article?articleId=32782