Re: Where does javax.net.debug output go?

2017-01-13 Thread Andy LoPresto
Joe, It doesn’t sound like a common deployment scenario, but it also doesn’t hurt to write up what you would like to have happen and submit a Jira. If it can be supported with minor changes, I wouldn’t be opposed to it. Either way, having it documented will help the next person who encounters t

Re: Where does javax.net.debug output go?

2017-01-12 Thread Joe Gresock
Ok, I narrowed it down and found that when I specify an external directory as the conf directory, nifi-bootstrap.log isn't written to (though it is created). In this scenario, the other log files work just fine, it's just the nifi-bootstrap.log that doesn't work. To reproduce this, I replaced "./

Re: Where does javax.net.debug output go?

2017-01-11 Thread Joe Gresock
No, we have not called setOut anywhere before now, and no customizations in logging.properties. I'll see if I can reproduce this with a vanilla installation of NiFi and I'll get back to you. On Wed, Jan 11, 2017 at 7:51 PM, Andy LoPresto wrote: > Have you had to call System.setOut() anywhere el

Re: Where does javax.net.debug output go?

2017-01-11 Thread Andy LoPresto
Have you had to call System.setOut() anywhere else in the code base? Anything in your custom processors that redirects output streams? Any custom configurations in $JAVA_HOME/jre/lib/logging.properties? This isn’t something I’ve encountered before — we get questions about log threshold, but I’v

Re: Where does javax.net.debug output go?

2017-01-11 Thread Joe Gresock
CentOS 6.8 with openjdk version "1.8.0_111". I did also try running nifi directly using nifi.sh start, to the same effect. I was able to work around the issue by calling System.setOut(...) inside one of my custom processors, so I at least have the debugging info I need. However, it would still be

Re: Where does javax.net.debug output go?

2017-01-11 Thread Andy LoPresto
Joe, Sorry you are experiencing difficulty with this. SSL debugging is a feature I use often. You should see this output in logs/nifi-bootstrap.log. Ensure you do not have another Java arg with a conflicting argument number in bootstrap.conf (although as you have put it as 16, I think you shoul

Where does javax.net.debug output go?

2017-01-11 Thread Joe Gresock
Hi folks, I'm trying to turn on SSL verbose logging using java.arg.16=-Djavax.net.debug=ssl,handshake in my bootstrap.conf (nifi version 1.1.0). As far as I can remember, this output goes to either stdout or stderr (I forget which). As a result, I'm trying to find the output in my nifi-bootstrap