Repository: logging-log4j2 Updated Branches: refs/heads/master f965d5155 -> 8b9962c64
Log exception to status logger. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/8b9962c6 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/8b9962c6 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/8b9962c6 Branch: refs/heads/master Commit: 8b9962c646e18663cb5344e7e1206996225b2c4e Parents: f965d51 Author: ggregory <[email protected]> Authored: Wed Dec 30 17:11:13 2015 -0800 Committer: ggregory <[email protected]> Committed: Wed Dec 30 17:11:13 2015 -0800 ---------------------------------------------------------------------- .../log4j/core/net/ssl/AbstractKeyStoreConfiguration.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8b9962c6/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/AbstractKeyStoreConfiguration.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/AbstractKeyStoreConfiguration.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/AbstractKeyStoreConfiguration.java index 6034038..57fd791 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/AbstractKeyStoreConfiguration.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/net/ssl/AbstractKeyStoreConfiguration.java @@ -52,19 +52,19 @@ public class AbstractKeyStoreConfiguration extends StoreConfiguration<KeyStore> return ks; } } catch (final CertificateException e) { - LOGGER.error("No Provider supports a KeyStoreSpi implementation for the specified type {}", this.keyStoreType); + LOGGER.error("No Provider supports a KeyStoreSpi implementation for the specified type" + this.keyStoreType, e); throw new StoreConfigurationException(e); } catch (final NoSuchAlgorithmException e) { - LOGGER.error("The algorithm used to check the integrity of the keystore cannot be found"); + LOGGER.error("The algorithm used to check the integrity of the keystore cannot be found", e); throw new StoreConfigurationException(e); } catch (final KeyStoreException e) { LOGGER.error(e); throw new StoreConfigurationException(e); } catch (final FileNotFoundException e) { - LOGGER.error("The keystore file({}) is not found", this.getLocation()); + LOGGER.error("The keystore file(" + this.getLocation() + ") is not found", e); throw new StoreConfigurationException(e); } catch (final IOException e) { - LOGGER.error("Something is wrong with the format of the keystore or the given password"); + LOGGER.error("Something is wrong with the format of the keystore or the given password", e); throw new StoreConfigurationException(e); } }
