Commit graph

4 commits

Author SHA1 Message Date
Chris S. Kim ae1646706f Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
Daniel Nephin 5665f27b27 logging: improve tests
Standardize naming
Use stricter assertions and reduce boilerplate to make the intent of the tests more obvious.

Also explicitly sort the filenames so that the correct files are pruned,
and so that the tests can not flake.
2020-11-23 14:41:54 -05:00
Daniel Nephin b140dd61b5 logging: call pruneFiles on startup
To ensure that files are pruned before a new one is created.

Also clean up the logic in pruneFiles
2020-11-20 19:07:45 -05:00
Chris Piraino 3dd0b59793
Allow users to configure either unstructured or JSON logging (#7130)
* hclog Allow users to choose between unstructured and JSON logging
2020-01-28 17:50:41 -06:00
Renamed from logger/logfile.go (Browse further)