logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1514372 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml
Date Thu, 15 Aug 2013 17:00:01 GMT
Author: ggregory
Date: Thu Aug 15 17:00:00 2013
New Revision: 1514372

URL: http://svn.apache.org/r1514372
Log:
[LOG4J2-353] Use consistent conventions in configuration files. Use all caps for "JDBC" to
match other appenders like "SMTP".

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml?rev=1514372&r1=1514371&r2=1514372&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml Thu Aug 15 17:00:00 2013
@@ -1205,14 +1205,14 @@
             <pre class="prettyprint linenums lang-xml"><![CDATA[<?xml version="1.0"
encoding="UTF-8"?>
 <Configuration status="error">
   <Appenders>
-    <Jdbc name="databaseAppender" tableName="application_log">
+    <JDBC name="databaseAppender" tableName="application_log">
       <DriverManager url="jdbc:mysql://example.org:3306/exampleDb" username="logging"
password="abc123" />
       <Column name="eventDate" isEventTimestamp="true" />
       <Column name="level" pattern="%level" />
       <Column name="logger" pattern="%logger" />
       <Column name="message" pattern="%message" />
       <Column name="exception" pattern="%ex{full}" />
-    </Jdbc>
+    </JDBC>
   </Appenders>
   <Loggers>
     <Root level="warn">
@@ -1224,14 +1224,14 @@
             <pre class="prettyprint linenums lang-xml"><![CDATA[<?xml version="1.0"
encoding="UTF-8"?>
 <Configuration status="error">
   <Appenders>
-    <Jdbc name="databaseAppender" tableName="dbo.application_log">
+    <JDBC name="databaseAppender" tableName="dbo.application_log">
       <DataSource jndiName="java:/comp/env/jdbc/LoggingDataSource" />
       <Column name="eventDate" isEventTimestamp="true" />
       <Column name="level" pattern="%level" />
       <Column name="logger" pattern="%logger" />
       <Column name="message" pattern="%message" />
       <Column name="exception" pattern="%ex{full}" />
-    </Jdbc>
+    </JDBC>
   </Appenders>
   <Loggers>
     <Root level="warn">
@@ -1243,7 +1243,7 @@
             <pre class="prettyprint linenums lang-xml"><![CDATA[<?xml version="1.0"
encoding="UTF-8"?>
 <Configuration status="error">
   <Appenders>
-    <Jdbc name="databaseAppender" tableName="LOGGING.APPLICATION_LOG">
+    <JDBC name="databaseAppender" tableName="LOGGING.APPLICATION_LOG">
       <ConnectionFactory class="net.example.db.ConnectionFactory" method="getNewDatabaseConnection"
/>
       <Column name="EVENT_ID" literal="LOGGING.APPLICATION_LOG_SEQUENCE.NEXTVAL" />
       <Column name="EVENT_DATE" isEventTimestamp="true" />
@@ -1251,7 +1251,7 @@
       <Column name="LOGGER" pattern="%logger" />
       <Column name="MESSAGE" pattern="%message" />
       <Column name="THROWABLE" pattern="%ex{full}" />
-    </Jdbc>
+    </JDBC>
   </Appenders>
   <Loggers>
     <Root level="warn">



Mime
View raw message