Skip to content

Commit

Permalink
Merge pull request #35 from rodneyway/master
Browse files Browse the repository at this point in the history
FIX: log definition to correctly reference LogFileHandler, and change…
  • Loading branch information
Joshua Carter authored Jan 20, 2020
2 parents b2cee22 + d11e7d3 commit 68bc7d2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions configs/silverstripe/local.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 68bc7d2

Please sign in to comment.