gitea/modules/log
zeripath cf9aeca508
Fix race in log () ()
Backport 

A race has been detected in  relating to getting log levels.

This PR protects the GetLevel and GetStacktraceLevel calls with a RW mutex.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-21 20:19:36 +08:00
..
colors.go Refactor Logger () 2020-10-31 01:36:46 -04:00
colors_router.go Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
conn.go Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
conn_test.go Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
console.go Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
console_test.go Fixed assert statements. () 2021-06-07 07:27:09 +02:00
console_windows.go Fix windows build error () 2021-01-06 09:38:00 +08:00
errors.go Better logging () () 2019-04-02 08:48:31 +01:00
event.go Fix race in log () () 2021-07-21 20:19:36 +08:00
file.go Retry rename on lock induced failures () 2021-07-15 11:46:07 -04:00
file_test.go Fixed assert statements. () 2021-06-07 07:27:09 +02:00
flags.go Log: Ensure FLAGS=none is -1 () 2019-12-07 23:36:47 -05:00
level.go Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
level_test.go Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
log.go Update docs and comments to remove macaron () 2021-01-29 16:35:30 +01:00
log_test.go Fixed assert statements. () 2021-06-07 07:27:09 +02:00
logger.go Refactor Logger () 2020-10-31 01:36:46 -04:00
multichannel.go Refactor Logger () 2020-10-31 01:36:46 -04:00
provider.go Better logging () () 2019-04-02 08:48:31 +01:00
smtp.go Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
smtp_test.go Fixed assert statements. () 2021-06-07 07:27:09 +02:00
stack.go Update golangci-lint to version 1.31.0 () 2020-10-11 21:27:20 +01:00
writer.go Removed unnecessary conversions () 2019-07-23 19:50:39 +01:00
writer_test.go Fixed assert statements. () 2021-06-07 07:27:09 +02:00