diff --git a/configs/silverstripe/local.sample.yml b/configs/silverstripe/local.sample.yml index 9c625bd..62b4322 100644 --- a/configs/silverstripe/local.sample.yml +++ b/configs/silverstripe/local.sample.yml @@ -21,14 +21,15 @@ Name: local-custom --- -Name: dev_log -Before: - - '*' +Name: ss-log-file --- SilverStripe\Core\Injector\Injector: + Psr\Log\LoggerInterface: + calls: + LogFileHandler: [ pushHandler, [ %$LogFileHandler ] ] LogFileHandler: class: Monolog\Handler\StreamHandler constructor: - - "mysite/silverstripe.log" + - "/var/log/silverstripe/silverstripe.log" - "info" - + \ No newline at end of file