Skip to content

Commit

Permalink
Merge branch '2.1' into 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Aug 16, 2018
2 parents 036eebb + c7e0e0d commit 759718f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _config/logging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
Name: cwpcorelogging
After: '#logging'
---
SilverStripe\Core\Injector\Injector:
Psr\Log\LoggerInterface:
calls:
pushSilverStripeSyslogHandler: [ pushHandler, [ '%$Monolog\Handler\HandlerInterface.silverstripe' ] ]
# Internal error handler, piped to syslog which is routed to Graylog
Monolog\Handler\HandlerInterface.silverstripe:
class: Monolog\Handler\SyslogHandler
constructor:
- 'SilverStripe_log'

0 comments on commit 759718f

Please sign in to comment.