hc-github-team-es-release-engineering
e13a4c2e09
[DO NOT MERGE UNTIL EOY] EOY license fixes 1.15.x ( #19787 )
2024-01-02 08:38:56 -08:00
hc-github-team-consul-core
6bdd979575
Backport of Net 3181 consul gh issue 15709 allow log file naming like nomad - fix bug into release/1.15.x ( #18641 )
...
* backport of commit a5ad366403
* backport of commit 24e7b9b960
* Net 3181 consul gh issue 15709 allow log file naming like nomad - fix bug (#18631 )
* fixes file name for consul
* added log file
* added tests for rename method
* append instead of trunc
* fix file truncate issue
* added changelog
* fix for build destros ci
* removed changelog
* solaris
* removed change log
---------
Co-authored-by: absolutelightning <ashesh.vidyut@hashicorp.com>
Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
2023-09-04 16:54:43 +05:30
hc-github-team-consul-core
bfa612ccee
Backport of NET-3181 - Allow log file naming like Nomad into release/1.15.x ( #18629 )
...
* backport of commit a5ad366403
* backport of commit 24e7b9b960
* NET-3181 - Allow log file naming like Nomad (#18617 )
* fixes file name for consul
* added log file
* added tests for rename method
---------
Co-authored-by: absolutelightning <ashesh.vidyut@hashicorp.com>
Co-authored-by: Ashesh Vidyut <134911583+absolutelightning@users.noreply.github.com>
2023-09-04 10:13:31 +00:00
Chris S. Kim
bde57c0dd0
Regenerate files according to 1.19.2 formatter
2022-10-24 16:12:08 -04:00
Daniel Nephin
752e3ec0b1
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
2dcc6966fe
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
401221de58
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