mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
parent
c056362b54
commit
148126fb79
@ -156,11 +156,10 @@ non-dev.
|
|||||||
Logger:
|
Logger:
|
||||||
calls:
|
calls:
|
||||||
- [ pushHandler, [ %$DisplayErrorHandler ]]
|
- [ pushHandler, [ %$DisplayErrorHandler ]]
|
||||||
|
|
||||||
DisplayErrorHandler:
|
DisplayErrorHandler:
|
||||||
class: SilverStripe\Framework\Logging\HTTPOutputHandler
|
class: SilverStripe\Framework\Logging\HTTPOutputHandler
|
||||||
constructor:
|
constructor:
|
||||||
- "notice"
|
- "notice"
|
||||||
properties:
|
properties:
|
||||||
Formatter: %$SilverStripe\Framework\Logging\DetailedErrorFormatter
|
Formatter: %$SilverStripe\Framework\Logging\DetailedErrorFormatter
|
||||||
---
|
---
|
||||||
@ -173,15 +172,14 @@ non-dev.
|
|||||||
calls:
|
calls:
|
||||||
- [ pushHandler, [ %$LogFileHandler ]]
|
- [ pushHandler, [ %$LogFileHandler ]]
|
||||||
- [ pushHandler, [ %$DisplayErrorHandler ]]
|
- [ pushHandler, [ %$DisplayErrorHandler ]]
|
||||||
|
|
||||||
LogFileHander:
|
LogFileHander:
|
||||||
class: Monolog\Handler\StreamHandler
|
class: Monolog\Handler\StreamHandler
|
||||||
constructor:
|
constructor:
|
||||||
- "../silverstripe.log"
|
- "../silverstripe.log"
|
||||||
- "notice"
|
- "notice"
|
||||||
properties:
|
properties:
|
||||||
Formatter: %$Monolog\Formatter\HtmlFormatter
|
Formatter: %$Monolog\Formatter\HtmlFormatter
|
||||||
ContentType: text/html
|
ContentType: text/html
|
||||||
DisplayErrorHandler:
|
DisplayErrorHandler:
|
||||||
class: SilverStripe\Framework\Logging\HTTPOutputHandler
|
class: SilverStripe\Framework\Logging\HTTPOutputHandler
|
||||||
constructor:
|
constructor:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user