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 3aa5749d53
Disable doctor logging on panic (#20847)
* Disable doctor logging on panic

If permissions are incorrect for writing to the doctor log simply disable the log file
instead of panicing.

Related #20570

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update cmd/doctor.go

* Update cmd/doctor.go

Co-authored-by: delvh <dev.lh@web.de>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-08-18 21:27:27 -04:00
..
buffer.go
buffer_test.go
colors.go
colors_router.go
conn.go
conn_test.go
console.go
console_other.go Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581) 2022-05-03 18:03:34 +02:00
console_test.go
console_windows.go
errors.go
event.go Empty log queue on flush and close (#19994) 2022-06-18 10:33:13 +08:00
file.go
file_test.go
flags.go
groutinelabel.go
groutinelabel_test.go
level.go
level_test.go
log.go
log_test.go
logger.go
multichannel.go Disable doctor logging on panic (#20847) 2022-08-18 21:27:27 -04:00
provider.go
smtp.go
smtp_test.go
stack.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
writer.go
writer_test.go