crunzphp / crunz

A PHP-based job scheduler
MIT License
176 stars 16 forks source link

how to set errors_log_file and output_log_file to save relative to the project. #74

Closed scryba closed 9 months ago

scryba commented 9 months ago

I want to set the log files in the config relative to the project in the logs folder.

crunz.yml

log_errors: true errors_log_file:logs/error.log log_output: true output_log_file: logs/output.log

Project Folder Structure

PabloKowalczyk commented 9 months ago

Hello, paths in errors_log_file and output_log_file are relative to project (to crunz.yml actually).

scryba commented 9 months ago

yes thank you i tested it, works fine as configured.