logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1469084 - /logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
Date Wed, 17 Apr 2013 22:15:37 GMT
Author: rgoers
Date: Wed Apr 17 22:15:36 2013
New Revision: 1469084

URL: http://svn.apache.org/r1469084
Log:
Add debug statement to identify secret key provider

Modified:
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java

Modified: logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java?rev=1469084&r1=1469083&r2=1469084&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
Wed Apr 17 22:15:36 2013
@@ -279,6 +279,7 @@ public class FlumePersistentManager exte
                                 try {
                                     SecretKeyProvider provider = (SecretKeyProvider) cl.newInstance();
                                     secretKey = provider.getSecretKey();
+                                    LOGGER.debug("Persisting events using SecretKeyProvider
{}", cl.getName());
                                 } catch (Exception ex) {
                                     LOGGER.error("Unable to create SecretKeyProvider {},
encryption will be disabled",
                                         cl.getName());



Mime
View raw message