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 5
5
"version" : " 1.0.2" ,
6
6
"require" : {
7
7
"php" : " ^7.0" ,
8
- "ext-json" : " *"
8
+ "ext-json" : " *" ,
9
+ "newrelic/monolog-enricher" : " ^1.0"
9
10
},
10
11
"suggest" : {
11
12
"magento/framework" : " *" ,
Original file line number Diff line number Diff line change 16
16
</arguments >
17
17
</type >
18
18
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
+
19
31
<!-- Log cache invalidation event to separate file -->
20
32
<type name =" Magento\CloudComponents\Model\Logger\Handler\Debug" >
21
33
<arguments >
You can’t perform that action at this time.
0 commit comments