27 Commits

Author SHA1 Message Date
Milan Pavlik
f0c8a858c9
[baseserver] Emit metrics for logs produced by level ENG-349 (#19063)
* [baseserver] Emit metrics for logs produced by level

* fix

* fix

* fix

* fix

* Fix

* Fix

* fix

* retest

* fix
2023-11-21 12:26:58 +02:00
Pudong
81ff3d16e4
[ws-manager-mk2] redact log (#18906)
* update to logrusr v4

* Add DeepCopyStruct to scrubber

* use DeepCopyStruct to scrub log

* mark wrokspace.stauts.url redact
2023-10-16 13:48:23 +03:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter (#17781) 2023-06-29 17:16:47 +08:00
Milan Pavlik
59e58f96c1
[common-go] Composable log fields (#16860)
* [common-go] Composable log fields

* add test for compose

* use in public api

* fix

* fix
2023-03-16 20:57:08 +01:00
Milan Pavlik
13b3b013b6
[logging] Enable storing/extracing of logger from context (#16658)
* [logging] Enable storing/extracing of logger from context

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2023-03-09 10:27:45 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Pudong Zheng
0d08d0b9b3 [common] Improve log time accuracy 2022-11-29 05:12:58 -03:00
utam0k
d46531d51c log: Add a test case for redact. 2022-10-21 03:47:36 +02:00
ArthurSens
b50ebe734e common-go: Add code line to all emitted logs
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-09-28 23:37:29 +02:00
JenTing Hsiao
13cccd8324 Force all the values redacted once one of the values matches redact fields
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-17 04:09:17 +02:00
JenTing Hsiao
cd0247a7ce Redact the rest values once the previous one matches redact fields
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-15 11:37:16 +02:00
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -03:00
Thomas Schubart
f5d555948a Extend ws-manager tracing with team and project 2022-06-15 21:43:25 +05:30
Milan Pavlik
2261745b6a [public-api-server] Group http and grpc servers into a baseserver package 2022-04-19 14:53:31 +05:30
Manuel Alejandro de Brito Fontes
f25de2cdbf Log error changing default level 2021-09-22 10:15:47 -03:00
Manuel Alejandro de Brito Fontes
4f18f95b5d [common-go] Do not log EOF errors decoding JSON 2021-09-15 20:27:40 +05:30
Manuel Alejandro de Brito Fontes
60d5ce3521 [nsinsider] Refactoring to use upstream runc 2021-09-13 16:16:38 +05:30
Simon Emms
76a1e7b957 [ws-daemon] Collect logs from runc command and log nsinsider properly 2021-08-11 17:48:10 +02:00
Manuel Alejandro de Brito Fontes
15fbc9b5dc Use gitpod-io log package 2021-06-15 10:55:33 -04:00
Manuel Alejandro de Brito Fontes
f620ac20c4 [common-log] Enable change of log level at runtime 2021-06-15 10:55:33 -04:00
Manuel Alejandro de Brito Fontes
59e8ca174f Lint code 2021-05-18 07:27:57 -04:00
Manuel Alejandro de Brito Fontes
73ca7425a4 [common-go] Lint and cleanup protobuf 2021-03-16 07:35:57 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Sven Efftinge
71ee76822f [commons] map log severity to stackdriver 2020-12-03 18:17:13 +01:00
Christian Weichel
75c45a7b39 [common-go] Remove logging enabled output
and make `Init()` work on second call
2020-11-19 08:38:35 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00