diff --git a/index.js b/index.js index 3cdc96c..ea4622f 100644 --- a/index.js +++ b/index.js @@ -48,6 +48,7 @@ class NewRelic { crashCollectorAddress: "", fedRampEnabled: false, offlineStorageEnabled: true, + logReportingEnabled: true, backgroundReportingEnabled: false, newEventSystemEnabled: true }; diff --git a/new-relic/__tests__/new-relic.spec.js b/new-relic/__tests__/new-relic.spec.js index 73aeebc..7923b96 100644 --- a/new-relic/__tests__/new-relic.spec.js +++ b/new-relic/__tests__/new-relic.spec.js @@ -87,6 +87,8 @@ describe('New Relic', () => { expect(NewRelic.agentConfiguration.offlineStorageEnabled).toBe(true); expect(NewRelic.agentConfiguration.logReportingEnabled).toBe(true); + expect(NewRelic.agentConfiguration.logReportingEnabled).toBe(true); + expect(NewRelic.agentConfiguration.newEventSystemEnabled).toBe(true); expect(NewRelic.agentConfiguration.backgroundReportingEnabled).toBe(false); @@ -108,6 +110,7 @@ describe('New Relic', () => { fedRampEnabled: true, nativeCrashReportingEnabled:false, offlineStorageEnabled:false, + logReportingEnabled: false newEventSystemEnabled:false, backgroundReportingEnabled:true }; @@ -128,6 +131,7 @@ describe('New Relic', () => { expect(NewRelic.agentConfiguration.fedRampEnabled).toBe(true); expect(NewRelic.agentConfiguration.offlineStorageEnabled).toBe(false); expect(NewRelic.agentConfiguration.nativeCrashReportingEnabled).toBe(false); + expect(NewRelic.agentConfiguration.logReportingEnabled).toBe(false); expect(NewRelic.agentConfiguration.newEventSystemEnabled).toBe(false); expect(NewRelic.agentConfiguration.backgroundReportingEnabled).toBe(true);