Matthieu MOREL
c1b2f78f46
chore: enable var-naming from revive ( #21861 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-02-18 11:02:38 -05:00
teddy-wahle
4a1d0f3af5
fix: Switch default logging to JSON (issue: 20897) ( #21656 )
...
Signed-off-by: Teddy Wahle <teddy.wahle@verkada.com >
2025-02-06 18:32:26 +00:00
Michael Crenshaw
d23e6ac79b
feat: configurable log timestamp format ( #21478 )
...
* feat: configurable log timestamp format
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-01-14 16:10:14 +00:00
Michael Crenshaw
dbdc1e737a
feat: use log format config for klog ( #5715 ) ( #21458 )
...
* feat: use log format config for klog (#5715 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* use init, remove test line
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* sort imports
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix comment
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-01-13 10:46:07 -05:00
github-actions[bot]
4d9835927d
Bump major version to 3 ( #21410 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <350466+crenshaw-dev@users.noreply.github.com >
2025-01-10 16:14:00 -05:00
Matthieu MOREL
9ea979bbcd
chore: enable use-any from revive ( #21282 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-02 18:26:59 -05:00
Matthieu MOREL
f245e8beb5
chore: enable err-error and strconcat of perfsprint linter ( #21267 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-20 16:22:28 +00:00
Matthieu MOREL
33df2ce698
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 09:18:12 -04:00
Savely Kalinov
f0b03071fc
feat: Add support to enable FullTimeStamp in logging ( #15127 )
...
* Add support to enable FullTimeStamp in logging
Signed-off-by: skalinov <skalinov@tradingview.com >
* fix: Fix go linter file exist issue
Signed-off-by: skalinov <skalinov@tradingview.com >
* fix: Remove --skip-pkg-cache
Signed-off-by: skalinov <skalinov@tradingview.com >
* Update util/log/logrus_test.go
Use custom set env for prevent linter to be failed
Signed-off-by: pasha-codefresh <pavel@codefresh.io >
* Update common/common.go
Signed-off-by: Dan Garfield <dan@codefresh.io >
* Update util/log/logrus_test.go
Signed-off-by: pasha-codefresh <pavel@codefresh.io >
* Update util/log/logrus_test.go
remove os import
Signed-off-by: pasha-codefresh <pavel@codefresh.io >
* Update util/log/logrus_test.go
sort dependencies
Signed-off-by: pasha-codefresh <pavel@codefresh.io >
* fix formatting
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pasha-codefresh <pavel@codefresh.io >
Signed-off-by: Dan Garfield <dan@codefresh.io >
Signed-off-by: pashakostohrys <pavel@codefresh.io >
Co-authored-by: skalinov <skalinov@tradingview.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
Co-authored-by: Dan Garfield <dan@codefresh.io >
2024-03-13 20:19:26 +00:00
Eng Zer Jun
03026997d1
chore: use t.Setenv to set env vars in tests ( #14377 )
...
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-07-06 19:50:08 -04:00
Alexander Matyushentsev
25698fd9f5
chore: upgrade k8s client to v1.23 ( #8213 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2022-01-20 08:28:11 +01:00
Aikawa
e44fa434ab
fix: use current logrus config when logrus is created internally ( #6234 ) ( #6301 )
...
fix: use current logrus config when logrus is created internally (#6234 ) (#6301 )
Signed-off-by: yu-croco <yuki.kita22@gmail.com >
2021-05-28 16:27:57 -07:00
Alexander Matyushentsev
9bbbda55a4
fix: use fmt.Sprintf to format complex logging fields ( #4739 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2020-11-03 08:41:08 -08:00
Alexander Matyushentsev
a96b476f16
refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) ( #4652 )
2020-10-27 14:10:24 -07:00