diff --git a/CHANGELOG.md b/CHANGELOG.md index 566b4005..b3a45627 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [6.45.22] - 2023-09-20 + +### Removed + +- Remove reference of how to search for the app's errors on now-defunct Splunk. + ### Fixed - Error tracing spans not logging the details. @@ -1793,11 +1799,12 @@ instead - `HttpClient` now adds `'Accept-Encoding': 'gzip'` header by default. -[Unreleased]: https://github.com/vtex/node-vtex-api/compare/v6.45.21...HEAD +[Unreleased]: https://github.com/vtex/node-vtex-api/compare/v6.45.22...HEAD [6.45.15]: https://github.com/vtex/node-vtex-api/compare/v6.45.14...v6.45.15 [6.45.14]: https://github.com/vtex/node-vtex-api/compare/v6.45.13...v6.45.14 [6.45.13]: https://github.com/vtex/node-vtex-api/compare/v6.45.12...v6.45.13 +[6.45.22]: https://github.com/vtex/node-vtex-api/compare/v6.45.21...v6.45.22 [6.45.21]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.2...v6.45.21 [6.45.21-beta.2]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.1...v6.45.21-beta.2 [6.45.21-beta.1]: https://github.com/vtex/node-vtex-api/compare/v6.45.21-beta.0...v6.45.21-beta.1 diff --git a/package.json b/package.json index a77a2637..e9885a14 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vtex/api", - "version": "6.45.21", + "version": "6.45.22", "description": "VTEX I/O API client", "main": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/src/service/logger/logger.ts b/src/service/logger/logger.ts index 7b6f5b76..20740dda 100644 --- a/src/service/logger/logger.ts +++ b/src/service/logger/logger.ts @@ -92,20 +92,5 @@ export class Logger { } console.log(JSON.stringify(inflatedLog)) - - // Warn the developer how to retrieve the error in splunk - this.logSplunkQuery() - } - - /** - * Logs splunk query so the developer can search for the errors in splunk. - * This function runs only once in the lifetime of the Logger class so we - * don't mess up with the developer's terminal - */ - private logSplunkQuery = () => { - if (linked) { - const message = `Try this query at Splunk to retrieve error log: 'index=io_vtex_logs app="${app}" account=${this.account} workspace=${this.workspace} level=error OR level=warn'` - logOnceToDevConsole(message, LogLevel.Info) - } } }