gitea/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_test.go
buffer.go
colors_router.go
colors.go
conn_test.go
conn.go
console_other.go
console_test.go
console_windows.go
console.go
errors.go
event.go
file_test.go
file.go
flags.go
groutinelabel_test.go
groutinelabel.go
level_test.go
level.go
log_test.go
log.go
logger.go
multichannel.go Disable doctor logging on panic (#20847) 2022-08-18 21:27:27 -04:00
provider.go
smtp_test.go
smtp.go
stack.go
writer_test.go
writer.go