Skip to content

Releases: davenverse/http4s-log4cats-contextlog

v0.0.11

19 Jul 17:34
9af3250
Compare
Choose a tag to compare

Adds several convenience functions on the builders to reduce code noise, changes default level of log to debug.

What's Changed

Full Changelog: v0.0.10...v0.0.11

v0.0.10

18 Jul 19:43
0e79341
Compare
Choose a tag to compare
  • Allow dynamic removal of context keys
  • Allow configuration of the request and response encoders
  • Move client logging so that it happen independent of draining of the response body by the user.

What's Changed

Full Changelog: v0.0.9...v0.0.10

v0.0.9

17 Jul 14:51
f9df006
Compare
Choose a tag to compare

The User and Ident protocols are not implemented, as a result there are some very defined fields that can be used to make this logging more beneficial. This is included to make folks have tools to improve the CommonLog should they leverage it themselves.

What's Changed

Full Changelog: v0.0.8...v0.0.9

v0.0.8

13 Jul 22:07
4fe6367
Compare
Choose a tag to compare

Several Headers Identified that are safe and common enough to be included.

What's Changed

Full Changelog: v0.0.7...v0.0.8

v0.0.7

13 Jul 16:48
d11ee95
Compare
Choose a tag to compare
  • Use Common Log for Both Client and Server (For Client we prefix with HttpClient so its clear its different, as well as use base rather than origin form)
  • Expose Common Log, as well as add functionality for it to serve CombinedLog format.
  • Switch the default logLevel function. Rather than everything at info have it automatically adjust the log level based on status (4xx-Warn, 5xx-Error), as well as Cancels and Errors of the effect
  • Use additionalContext function in ClientMiddleware
  • Expose a quietLogLevel default function that does not log on what were previously info logs.

What's Changed

Full Changelog: v0.0.6...v0.0.7

v0.0.6

12 Jul 21:49
988fecd
Compare
Choose a tag to compare

Rather than Request/Response => Map[String, String] instead prefer providing the entire context for addtional attributes (Request, Outcome[Option, Throwable, Response]) => Map[String, String]

Rather than removing headers keys not in the set, include them but redact the values.

What's Changed

Full Changelog: v0.0.5...v0.0.6

v0.0.5

12 Jul 16:22
d20c32b
Compare
Choose a tag to compare

This release tries to standardize name access so that there are less floating contexts.

What's Changed

Full Changelog: v0.0.4...v0.0.5

v0.0.4

11 Jul 17:26
8009aa6
Compare
Choose a tag to compare

SelfAwareStructuredLogger is useful but for a capability we aren't using that get in the way of how many people build their context loggers. So dropping constraint to StructuredLogger should make this more easily accesible.

What's Changed

Full Changelog: v0.0.3...v0.0.4

v0.0.3

11 Jul 16:31
3d28a84
Compare
Choose a tag to compare

Better Context!

  • Adds contextlog.kind which differentiates server/client, especially useful if you leverage the same log function.
  • Separate the headers and body times into duration_ms(headers) and duration_body_ms(body), the latter will only be present if you are logging the body as otherwise you are only tied into the request app cycle.
  • Adds http.access_time in epoch millis, standardized on access time so all log functions use the same relative time.

What's Changed

New Contributors

Full Changelog: v0.0.2...v0.0.3

v0.0.2

11 Jul 14:35
Compare
Choose a tag to compare

Expose HttpStructuredContext which will allow folks to expose their own increased set of allowed headers.