cmd/ctrld: use debug level when --log set

This commit is contained in:
Cuong Manh Le
2023-01-24 12:32:54 +07:00
committed by Cuong Manh Le
parent 31e4bcb4c3
commit b0dc96aa01

View File

@@ -609,6 +609,7 @@ func processListenFlag() {
func processLogAndCacheFlags() {
if logPath != "" {
cfg.Service.LogLevel = "debug"
cfg.Service.LogPath = logPath
}