[YMK] clean most logging setting code.
[YMK] make all subcmds follow main logging setting.