You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2012/11/05 19:35:02 UTC

svn commit: r1405906 - /hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java

Author: apurtell
Date: Mon Nov  5 18:35:01 2012
New Revision: 1405906

URL: http://svn.apache.org/viewvc?rev=1405906&view=rev
Log:
HBASE-7097. Log message in SecureServer.class uses wrong class name (Y. Sreenivasulu Reddy)

Modified:
    hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java

Modified: hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java?rev=1405906&r1=1405905&r2=1405906&view=diff
==============================================================================
--- hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java (original)
+++ hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java Mon Nov  5 18:35:01 2012
@@ -87,9 +87,10 @@ public abstract class SecureServer exten
   public static final byte CURRENT_VERSION = 4;
   public static final Set<Byte> INSECURE_VERSIONS = ImmutableSet.of((byte) 3);
 
-  public static final Log LOG = LogFactory.getLog("org.apache.hadoop.ipc.SecureServer");
-  private static final Log AUDITLOG =
-    LogFactory.getLog("SecurityLogger.org.apache.hadoop.ipc.SecureServer");
+  public static final Log LOG = LogFactory.getLog(SecureServer.class);
+  private static final Log AUDITLOG = LogFactory.getLog("SecurityLogger." +
+    SecureServer.class.getName());
+
   private static final String AUTH_FAILED_FOR = "Auth failed for ";
   private static final String AUTH_SUCCESSFUL_FOR = "Auth successful for ";