mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 19:17:48 +00:00 
			
		
		
		
	fix: logic error when setting new relic logging forwarding (#8687)
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
This commit is contained in:
		| @@ -29,8 +29,8 @@ common: &default_settings | |||||||
|     # independently. If `false`, all logging-related features are disabled. |     # independently. If `false`, all logging-related features are disabled. | ||||||
|     enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_ENABLED', false) %> |     enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_ENABLED', false) %> | ||||||
|     forwarding: |     forwarding: | ||||||
|       # If `true`, the agent captures log records emitted by this application. |       # If `true`, the agent captures log records emitted by this application | ||||||
|       enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED', true) %> |       enabled: <%= ENV.fetch('NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED', true) == "false" ? false : true %> | ||||||
|       # Defines the maximum number of log records to buffer in memory at a time. |       # Defines the maximum number of log records to buffer in memory at a time. | ||||||
|       max_samples_stored: 30000 |       max_samples_stored: 30000 | ||||||
|     metrics: |     metrics: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kevin Lin
					Kevin Lin