[
https://issues.apache.org/jira/browse/NIFI-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408220#comment-15408220
]
ASF GitHub Bot commented on NIFI-2485:
--------------------------------------
Github user alopresto commented on the issue:
https://github.com/apache/nifi/pull/790
I would like to see the log output contain a line for each host generated,
specifying the output directory, hostname, and port.
Example:
```bash
hw12203:...assembly/target/nifi-toolkit-1.0.0-SNAPSHOT-bin/nifi-toolkit-1.0.0-SNAPSHOT
(pr790) alopresto
🔓 0s @ 10:55:43 $ ./bin/tls-toolkit.sh standalone -n host1,host2
16/08/04 10:56:00 INFO standalone.TlsToolkitStandaloneCommandLine: No
nifiPropertiesFile specified, using embedded one.
16/08/04 10:56:00 INFO standalone.TlsToolkitStandalone: Running standalone
certificate generation with output directory ../nifi-toolkit-1.0.0-SNAPSHOT and
hostnames [host1, host2]
16/08/04 10:56:01 INFO standalone.TlsToolkitStandalone: Successfully
generated TLS configuration for "host1:10443" in host1/
16/08/04 10:56:01 INFO standalone.TlsToolkitStandalone: Successfully
generated TLS configuration for "host2:10443" in host2/
hw12203:...assembly/target/nifi-toolkit-1.0.0-SNAPSHOT-bin/nifi-toolkit-1.0.0-SNAPSHOT
(pr790) alopresto
🔓 18s @ 10:56:02 $
```
With only one or two hosts, it's easy to see on one line, but if many are
provided or the tool errors halfway through, it's nice to have a record of what
was performed.
> Standalone tool sensible default for nifiProperties, httpsPort,
> outputDirectory
> -------------------------------------------------------------------------------
>
> Key: NIFI-2485
> URL: https://issues.apache.org/jira/browse/NIFI-2485
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: Bryan Rosander
> Assignee: Bryan Rosander
>
> Standalone tool has no default for:
> -f, --nifiPropertiesFile
> -p, --httpsPort
> Standalone tool default is unclear for:
> -o, --outputDirectory "." can display "current directory" or "../<current
> directory>"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)