Github user interma commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/1313#discussion_r152188060 --- Diff: tools/bin/hawqextract --- @@ -558,13 +558,15 @@ def create_opt_parser(version): parser.add_option('-o', '--output', help="the output metadata file, defaults to stdout", metavar='FILE') parser.add_option('-W', action='store_true', dest='use_getpass', help="force password authentication") parser.add_option('-v', '--verbose', action='store_true') + parser.add_option('-l', '--logdir', dest='logDir', help="Sets the directory for log files") return parser def main(args=None): parser = create_opt_parser('%prog version $Revision: #1 $') options, args = parser.parse_args(args) + setup_tool_logging(EXECNAME, getLocalHostname(), getUserName(), logdir=options.logDir) --- End diff -- Thanks! LGTM.
---