open-consul/website/content
Dhia Ayachi f17bc5ed73
inject logger and create logdrop sink (#15822)
* inject logger and create logdrop sink

* init sink with an empty struct instead of nil

* wrap a logger instead of a sink and add a discard logger to avoid double logging

* fix compile errors

* fix linter errors

* Fix bug where log arguments aren't properly formatted

* Move log sink construction outside of handler

* Add prometheus definition and docs for log drop counter

Co-authored-by: Daniel Upton <daniel@floppy.co>
2023-01-06 11:33:53 -07:00
..
api-docs docs: fix markdown heading levels (#15912) 2023-01-06 11:37:19 -05:00
commands Allow Operator Generated bootstrap token (#14437) 2023-01-04 20:19:33 +00:00
docs inject logger and create logdrop sink (#15822) 2023-01-06 11:33:53 -07:00
partials docs: fix api docs anchor links 2022-10-18 12:53:53 -07:00
security.mdx