File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 55 "version" : " 1.0.2" ,
66 "require" : {
77 "php" : " ^7.0" ,
8- "ext-json" : " *"
8+ "ext-json" : " *" ,
9+ "newrelic/monolog-enricher" : " ^1.0"
910 },
1011 "suggest" : {
1112 "magento/framework" : " *" ,
Original file line number Diff line number Diff line change 1616 </arguments >
1717 </type >
1818
19+ <!-- Enable NewRelic Logs in Context -->
20+ <type name =" Magento\Framework\Logger\Monolog" >
21+ <arguments >
22+ <argument name =" handlers" xsi : type =" array" >
23+ <item name =" newRelic" xsi : type =" object" >NewRelic\Monolog\Enricher\Handler</item >
24+ </argument >
25+ <argument name =" processors" xsi : type =" array" >
26+ <item name =" newRelic" xsi : type =" object" >NewRelic\Monolog\Enricher\Processor</item >
27+ </argument >
28+ </arguments >
29+ </type >
30+
1931 <!-- Log cache invalidation event to separate file -->
2032 <type name =" Magento\CloudComponents\Model\Logger\Handler\Debug" >
2133 <arguments >
You can’t perform that action at this time.
0 commit comments