1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
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_router.go
colors.go
conn_test.go
conn.go
console_test.go
console_windows.go
console.go
errors.go
event.go Fix race in log () () 2021-07-21 20:19:36 +08:00
file_test.go
file.go Retry rename on lock induced failures () 2021-07-15 11:46:07 -04:00
flags.go
level_test.go
level.go
log_test.go
log.go
logger.go
multichannel.go
provider.go
smtp_test.go
smtp.go
stack.go
writer_test.go
writer.go