Releases: Financial-Times/n-logger
Upgrade to Node v14
Merge pull request #107 from Financial-Times/upgrade-node-to-v14 Upgrade Node to v14
Remove isomorphic-fetch dependency
This refactors the package not to use the isomorphic-fetch
package as this pollutes the global scope. This change avoids there being multiple versions of fetch being used in an application.
A global fetch instance will still be used if available (such as in apps which use n-express
), otherwise it will fall back to its own node-fetch
implementation. This is the same behaviour as implemented by the n-fetch
package.
Remove unused 'request' dependency
Merge pull request #103 from Financial-Times/remove-unused-dependencies Remove unused dependencies
Upgrade @financial-times/n-gage ^3.6.0 -> ^5.0.0
v6.1.2 Merge pull request #101 from Financial-Times/renovate-major-next-buil…
Document how to log errors correctly
Merge pull request #99 from Financial-Times/wheresrhys-patch-1 Document error logging finnickiness
Just check splunk hec token
Remove the check for node environment before logging to splunk.
Due to CI and vault changes, .env files on developers' machines and in test no longer have the token present, or have it blank
Fix SplunkHEC not logging because of non-JSON body
Fixes the bug on v6.0.2 that stopped splunk logging
- Use
json-stringify-safe
to stringify splunk body - Add logging when there is an error logging to splunk
[DO NOT USE] Fix for JSON.stringify in Splunk Https Event Collector
WARNING: There is a bug in this release that prevents logging. Please use v6.0.3+
Allow circularly referenced JSON structures to be logged by Splunk Https Event Collector.
sourcetype
Allow for variable sourcetype
Remove Splunk forwarder
Removes the Splunk forwarder transport so that logs are only sent via the Https Event Collector.