itdoxy-lab/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
console_test.go
console_windows.go
errors.go
event.go
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
writer.go
writer_test.go