From ddad275dbd69a05f7aa537cf023c304d684bf44a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 6 Apr 2013 16:15:32 +0900 Subject: [PATCH] Make log level INFO in addTrustedCACertFile() With WARN level, they will be always printed on Mac OS and old GNUTLS build which does not have its API. --- src/AppleTLSContext.cc | 2 +- src/LibgnutlsTLSContext.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AppleTLSContext.cc b/src/AppleTLSContext.cc index 99d88505f..e301a0edc 100644 --- a/src/AppleTLSContext.cc +++ b/src/AppleTLSContext.cc @@ -54,7 +54,7 @@ bool AppleTLSContext::addCredentialFile(const std::string& certfile, bool AppleTLSContext::addTrustedCACertFile(const std::string& certfile) { - A2_LOG_WARN("TLS CA bundle files are not supported. Use the KeyChain to manage your certificates."); + A2_LOG_INFO("TLS CA bundle files are not supported. Use the KeyChain to manage your certificates."); return false; } diff --git a/src/LibgnutlsTLSContext.cc b/src/LibgnutlsTLSContext.cc index 507c72224..f2c932e5c 100644 --- a/src/LibgnutlsTLSContext.cc +++ b/src/LibgnutlsTLSContext.cc @@ -114,7 +114,7 @@ bool GnuTLSContext::addSystemTrustedCACerts() return true; } #else - A2_LOG_WARN("System certificates not supported"); + A2_LOG_INFO("System certificates not supported"); return false; #endif }