logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1516472 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.java
Date Thu, 22 Aug 2013 14:56:04 GMT
Author: ggregory
Date: Thu Aug 22 14:56:04 2013
New Revision: 1516472

URL: http://svn.apache.org/r1516472
Log:
Consistently use "LOGGER" for the StatusLogger when used as a static final.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.java?rev=1516472&r1=1516471&r2=1516472&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverter.java
Thu Aug 22 14:56:04 2013
@@ -29,7 +29,7 @@ import org.apache.logging.log4j.status.S
  */
 @Converter(autoApply = false)
 public class MessageAttributeConverter implements AttributeConverter<Message, String>
{
-    private static final StatusLogger log = StatusLogger.getLogger();
+    private static final StatusLogger LOGGER = StatusLogger.getLogger();
 
     @Override
     public String convertToDatabaseColumn(final Message message) {
@@ -46,6 +46,6 @@ public class MessageAttributeConverter i
             return null;
         }
 
-        return log.getMessageFactory().newMessage(s);
+        return LOGGER.getMessageFactory().newMessage(s);
     }
 }



Mime
View raw message