Skip to content

Commit

Permalink
Merge branch '2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ScopeyNZ committed Aug 20, 2018
2 parents c91315f + 759718f commit 2342c5a
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 2342c5a

Please sign in to comment.