[
https://issues.apache.org/jira/browse/NIFI-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906000#comment-15906000
]
ASF GitHub Bot commented on NIFI-3586:
--------------------------------------
Github user alopresto commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1586#discussion_r105521647
--- Diff:
nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java ---
@@ -1131,9 +1131,9 @@ public boolean accept(final File dir, final String
filename) {
process = builder.start();
handleLogging(process);
- pid = getPid(process, defaultLogger);
+ pid = OSUtil.getProcessId(process, defaultLogger);
if (pid == null) {
- cmdLogger.info("Launched Apache NiFi but could not
obtain the Process ID");
+ cmdLogger.error("Launched Apache NiFi but could
not obtain the Process ID");
--- End diff --
Why is this at `error` level when the same message above is at `warn`?
> Nifi is not returning PID in Windows
> ------------------------------------
>
> Key: NIFI-3586
> URL: https://issues.apache.org/jira/browse/NIFI-3586
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.0.0, 0.5.0, 0.6.0, 0.7.0, 1.2.0, 1.1.1, 1.0.1
> Environment: Java <=8, Windows
> Reporter: Puspendu Banerjee
> Priority: Minor
>
> Nifi PID is unavailable during startup under Windows
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)