mirror of
https://github.com/coredns/coredns.git
synced 2025-12-18 08:05:14 -05:00
recover from panic log including stacktrace to help finding the origin (#5392)
This commit is contained in:
@@ -28,6 +28,9 @@ type Config struct {
|
||||
// Debug controls the panic/recover mechanism that is enabled by default.
|
||||
Debug bool
|
||||
|
||||
// Stacktrace controls including stacktrace as part of log from recover mechanism, it is disabled by default.
|
||||
Stacktrace bool
|
||||
|
||||
// The transport we implement, normally just "dns" over TCP/UDP, but could be
|
||||
// DNS-over-TLS or DNS-over-gRPC.
|
||||
Transport string
|
||||
|
||||
Reference in New Issue
Block a user