Open AlekseiSaff opened 2 years ago
Or
stdout_logfile=/var/logs/%(program_name)/horizon-%(date).log
Will transform into this
/var/logs/laravel/horizon-2022-06-19.log
I have tried v3.3.1 and v4.4.2, but logfile name with timestamp added cannot work both.
Is there a plan to support this feature ?
Thanks.
Sadly, I also need this feature but the issue is still open, random suffix is hard to find the newest log file.
It will be nice if can add a command into the log file path (and if it does not exist create it) i.e.
stderr_logfile=/home/lt/prod/apps/%(program_name)s/log/(%CURRENT_DATE%)/%(program_name)s.err.log
and CURRENT_DATE could be defined as (date +%Y%M%D) or any other format (bash or python command)