cmd_logging() fix coverity scan bug "log_dest might leave the destination string unterminated"
cmd_logging() fix coverity scan bug "log_dest might leave the destination string unterminated"

Baldanos/hydrafw,hydrabus/hydrafw,Baldanos/hydrafw,Baldanos/hydrafw,hydrabus/hydrafw,hydrabus/hydrafw