Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Releases: Financial-Times/n-logger

Upgrade to Node v14

28 Sep 08:41
23ed326
Compare
Choose a tag to compare
Merge pull request #107 from Financial-Times/upgrade-node-to-v14

Upgrade Node to v14

Remove isomorphic-fetch dependency

29 Jun 12:17
02f16b1
Compare
Choose a tag to compare

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.

#104

Remove unused 'request' dependency

18 Jun 08:53
782d6df
Compare
Choose a tag to compare
Merge pull request #103 from Financial-Times/remove-unused-dependencies

Remove unused dependencies

Upgrade @financial-times/n-gage ^3.6.0 -> ^5.0.0

17 Jun 09:16
eb5a0d4
Compare
Choose a tag to compare
v6.1.2

Merge pull request #101 from Financial-Times/renovate-major-next-buil…

Document how to log errors correctly

19 Dec 09:07
98686e1
Compare
Choose a tag to compare
Merge pull request #99 from Financial-Times/wheresrhys-patch-1

Document error logging finnickiness

Just check splunk hec token

19 Nov 11:22
6e0243a
Compare
Choose a tag to compare

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

02 Nov 11:49
35df521
Compare
Choose a tag to compare

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

26 Oct 09:17
9a16211
Compare
Choose a tag to compare

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

02 Oct 13:57
edf8740
Compare
Choose a tag to compare

Allow for variable sourcetype

Remove Splunk forwarder

21 Sep 09:35
5b972ad
Compare
Choose a tag to compare

Removes the Splunk forwarder transport so that logs are only sent via the Https Event Collector.