add current date to log's filename in Supervisor

Viewed 940

I use Supervisor to run my Laravel app queues. I want to store logs of each day in different log files.

for example:

supervisor-2020-05-20.log
supervisor-2020-05-21.log
supervisor-2020-05-22.log
supervisor-2020-05-23.log

how can I do that in my config file? my current config file is like the below:

stdout_logfile = supervisor.log

0 Answers
Related