Commit Graph

19 Commits

Author SHA1 Message Date
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Sven Rebhan 26fc051441
fix(logging): Handle closing correctly and fix tests (#16539) 2025-02-24 10:05:29 -06:00
Sven Rebhan c3e53193d2
feat(logging): Implement structured logging (#15751)
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2024-09-06 15:52:22 -05:00
Sven Rebhan ef41198481
chore(logging): Implement early logging (#15629) 2024-07-26 09:09:21 -06:00
Sven Rebhan 32a5b44d7b
chore(logging): Refactor code (#15556) 2024-06-25 07:48:56 -06:00
Sven Rebhan 71b58ddaf5
chore(log): Restructure and cleanup logging code (#15234) 2024-05-10 16:43:43 -05:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
Paweł Żak 5878278fca
chore: resolve linter issues for unhandled-error (#11969) 2022-10-12 14:23:53 -06:00
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06:00
Paweł Żak 77390b6495
fix: linter fixes for "import-shadowing: The name '...' shadows an import name" (#10689) 2022-02-22 08:11:30 -07:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
David Bennett 1a86fd1a2d
Config Option to Enable Logging with Local Time (#9123)
* Configurable local time logging

* make timezone configurable

* Address linter feedback.

* update with example
2021-04-16 14:39:19 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Vlasta Hajek 7ec54d4be9 Improve startup error reporting when ran as Windows service (#4291) 2019-08-28 14:34:44 -07:00
javicrespo bcf7516a23 Add in process log rotation (#5778) 2019-05-03 10:25:28 -07:00
scier 7787ea2dcc Create log file in append mode (#5497) 2019-02-27 16:33:38 -08:00
Daniel Nelson 2c98e5ae66 Add collectd parser (#2654) 2017-04-12 10:41:26 -07:00
Cameron Sparr 47de43abf3 Use rfc3339 timestamps in telegraf log output
closes #1564

also add unit and benchmark tests
2016-11-03 18:39:02 +00:00