You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/log
zeripath cf9aeca508
Fix race in log (#16490) (#16505)
Backport #16490

A race has been detected in #1441 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>
4 years ago
..
colors.go Refactor Logger (#13294) 4 years ago
colors_router.go Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
conn.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
conn_test.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
console.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
console_test.go Fixed assert statements. (#16089) 4 years ago
console_windows.go Fix windows build error (#14263) 4 years ago
errors.go
event.go Fix race in log (#16490) (#16505) 4 years ago
file.go Retry rename on lock induced failures (#16435) 4 years ago
file_test.go Fixed assert statements. (#16089) 4 years ago
flags.go
level.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
level_test.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
log.go Update docs and comments to remove macaron (#14491) 4 years ago
log_test.go Fixed assert statements. (#16089) 4 years ago
logger.go Refactor Logger (#13294) 4 years ago
multichannel.go Refactor Logger (#13294) 4 years ago
provider.go
smtp.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
smtp_test.go Fixed assert statements. (#16089) 4 years ago
stack.go
writer.go
writer_test.go Fixed assert statements. (#16089) 4 years ago