You can create a custom log handler to catch these log events. For more information, please refer to the answer in this thread.
Logger rootLogger = LogManager.getLogManager().getLogger(""); rootLogger.addHandler(new MyLogHandler());
Have you been able to successfully connect at all? I ask because you seem to be connecting to a provider on localhost:14023 - are you starting up your own server? Have you tried connecting into an ADS? Also, do you want to solve the issue of failing to connect? Or do you want to know how to capture and process events within your application? Or both?