While checking again, I found an issue in the new logging function - same va_list is used twice, but it was the undefined behavior. va_copy() is used to fix the issue.
Also, below points were found and fixed in 0003. Thanks Peter Smith to work on.
``` + printf(_(" -l, --logdir=LOGDIR location for the new log directory\n")); ```
But there is a possibility that existing directory is specified, right?