Skip to content

Releases: snabble/go-logging

v2.12.1

30 Aug 09:00
e063a0a
Compare
Choose a tag to compare

Upgrade to otel v1.17.0.

v2.12.0

12 Jul 15:21
@g-w g-w
v2.12.0
cfe0c30
Compare
Choose a tag to compare

What's Changed

  • Update otel stack by @g-w in #82
  • Bump go.opentelemetry.io/otel/trace from 1.15.0 to 1.15.1 by @dependabot in #84
  • Bump go.opentelemetry.io/otel/sdk from 1.15.0 to 1.15.1 by @dependabot in #83
  • Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.41.0 to 0.41.1 by @dependabot in #86
  • Bump github.com/uptrace/opentelemetry-go-extra/otellogrus from 0.1.21 to 0.2.0 by @dependabot in #87
  • Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 by @dependabot in #88
  • Bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2 by @dependabot in #89
  • Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #90
  • Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.41.1 to 0.42.0 by @dependabot in #91
  • Bump github.com/uptrace/opentelemetry-go-extra/otellogrus from 0.2.0 to 0.2.1 by @dependabot in #92
  • Bump go.opentelemetry.io/otel/sdk from 1.15.1 to 1.16.0 by @dependabot in #93
  • Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #94
  • Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 by @dependabot in #95
  • Bump github.com/uptrace/opentelemetry-go-extra/otellogrus from 0.2.1 to 0.2.2 by @dependabot in #96
  • Skip access log entries if path is excluded by @g-w in #97

Full Changelog: v2.11.1...v2.12.0

v2.11.1

17 Mar 09:54
@g-w g-w
v2.11.1
b868528
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.11.0...v2.11.1

v2.10.0 - More tracing - a new home for tracex

07 Feb 14:58
dfd2f82
Compare
Choose a tag to compare

With this release we've added our internal tracex library to go-logging.

The tracex module centralizes all dependencies on otel packages, so we don't get different otel versions scattered around in our codebase.

The two modules were tightly coupled, so it makes sense to move tracex into go-logging.

Internal ticket: BACKEND-1078

Other changes:

  • Upgrade to go 1.19
  • Loads of dependency updates
  • We've removed support for stack traces (errorsx).

No API changes, hence it's a patch level version. Everything should work as before!

v2.9.1 - Lower log-level for health requests to debug

18 Mar 11:14
0b240fe
Compare
Choose a tag to compare

Instead of logging GET requests to /health that resulting in a success HTTP status code to info, these requests are now logged with debug. Other HTTP methods and 400+ HTTP status codes are logged like before.

v2.9.0 - Removing GORM logging

08 Mar 14:04
04412ae
Compare
Choose a tag to compare

To reduce the footprint of go-logging remove all dependencies to GORM.

v2.8.0 - Tracing enabled as default

22 Feb 18:30
91e7cd9
Compare
Choose a tag to compare

This minor release enables tracing in the default configuration.

v2.7.4 - Tracing release

14 Feb 10:32
784479a
Compare
Choose a tag to compare

Add tracing based on opentelemetry:

  • Enable tracing by configuration
// Configures the global LOG instance with tracing enabled.
err := SetWithConfig("info", &LogConfig{EnableTraces: true, EnableTextLogging: false})
  • LogMiddleware adds tracing to the http pipeline
  • trace_id and span_id is added to the structured log

v2.7.3

24 Nov 19:54
Compare
Choose a tag to compare

Bug fix release, made ExtractStacktrace nil safe.

v2.7.2

24 Nov 13:39
2c5db64
Compare
Choose a tag to compare

Reports stack traces in a stacktrace field, when the error is created by one of the following modules:

The implementation is based on https://github.com/getsentry/sentry-go