Fix logger formatted strings output, X509 trustmgr for self signed chain