From 74b5d777f197c27d731b2d8f86aa9da565b4d000 Mon Sep 17 00:00:00 2001 From: Sander Bogaert Date: Sat, 28 Apr 2012 13:36:00 +0200 Subject: [PATCH] Changed log level to verbose when some of the autoconfiguration attempts fail, these are not errors. --- .../activity/setup/AccountSetupAutoConfiguration.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/com/fsck/k9/activity/setup/AccountSetupAutoConfiguration.java b/src/com/fsck/k9/activity/setup/AccountSetupAutoConfiguration.java index fb81ebca8..3a74d3aa5 100644 --- a/src/com/fsck/k9/activity/setup/AccountSetupAutoConfiguration.java +++ b/src/com/fsck/k9/activity/setup/AccountSetupAutoConfiguration.java @@ -490,16 +490,16 @@ public class AccountSetupAutoConfiguration extends K9Activity implements View.On } }catch (SocketTimeoutException ex){ - Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+ + Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+ tmpURL+"' ( time-out is"+TIMEOUT+" )", ex); }catch (MalformedURLException ex){ - Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+ + Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+ tmpURL+"'", ex); }catch (UnknownHostException ex){ - Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+ + Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+ tmpURL+"'", ex); }catch (SSLPeerUnverifiedException ex){ - Log.e(K9.LOG_TAG, "Error while testing settings", ex); + Log.v(K9.LOG_TAG, "Error while testing settings", ex); // TODO: use custom trust manager so this exception could get thrown //acceptKeyDialog(R.string.account_setup_failed_dlg_certificate_message_fmt,i,ex); }catch (SAXException e) { @@ -509,7 +509,7 @@ public class AccountSetupAutoConfiguration extends K9Activity implements View.On setMessage(R.string.account_setup_autoconfig_fail,false); bParseFailed = true; }catch (ErrorCodeException ex) { - Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '" + + Log.v(K9.LOG_TAG, "Error while attempting auto-configuration with url '" + tmpURL + "' site didn't respond as expected. Got code: " + ex.getErrorCode(), ex); }catch(IOException ex) { Log.e(K9.LOG_TAG, "Error while attempting auto-configuration with url '"+