Misleading log configuration
Closed this issue · 1 comments
dklimpel commented
I can see two switches for configure logging:
SYNCV3_DEBUG
and SYNCV3_LOG_LEVEL
.
SYNCV3_DEBUG
is trace
level:
sliding-sync/cmd/syncv3/main.go
Lines 176 to 177 in 8750e1c
Is SYNCV3_DEBUG
the old an "deprecated" one?
It was introduced in:
kegsay commented
SYNCV3_DEBUG should only be used by developers. Setting it turns on trace logging but it also makes failed assertions panic, so you'll see more crashes if you enable it.