monolog-cascade
monolog-cascade copied to clipboard
File permissions on handler
I believe Monolog handlers do support the $filePermission argument. However, I can't get it configured from the JSON configuration settings for a handler.
How do I pass the argument correctly so the handler will create the log file with the correct permissions?
Cascade takes any arguments from the constructor of the handler. See example in the ReadMe and/or the handlers section below. Any constructor args can be passed you may use camel case or underscored case in your param names.
handlers:
info_file_handler:
class: Monolog\Handler\StreamHandler
level: INFO
formatter: dashed
stream: ./example_info.log
file_permission: 455