This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/log
zeripath 49bd9a1111
Fix race in log (#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>
2021-07-20 20:09:29 +01:00
..
colors.go
colors_router.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
conn.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
conn_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
console.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
console_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
console_windows.go
errors.go
event.go Fix race in log (#16490) 2021-07-20 20:09:29 +01:00
file.go Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
file_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
flags.go
level.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
level_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
log.go
log_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
logger.go
multichannel.go
provider.go
smtp.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
smtp_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
stack.go
writer.go
writer_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00