Commit Graph
4 Commits
Author SHA1 Message Date
Sam Freiberg 04b9d66d67 Properly escape maps in log entries (#19148)
Properly escape maps in log entry
2022-12-07 23:18:55 +00:00
Zac Bergquist da7680ad0b Use x/exp/slices instead of home grown utilities (#18524)
We were inconsistent throughout the codebase and would sometimes
use the slices package and other times use our own equivalents
in api/.

This removes our versions in favor of the golang.org/x package that
does the same, which has the added benefit of reducing the surface
area of the public API module.

Note: despite existing uses of the slices package, for some reason
it didn't show up in go.mod or go.sum. Fixed that too.
2022-11-17 15:25:46 +00:00
Edoardo Spadolini c2c4e4a630 Use JSON logging in tests (#13977)
* Use JSON logging in tests

* log to logrus
2022-07-01 11:09:39 +00:00
Jakub Nyckowski d616f7c31f Use teleport logger instead of gravitational/trace (#9738)
Fix incorrect caller in CLI and tests logs.
2022-01-11 23:04:47 +00:00