You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2018/01/19 03:23:28 UTC
logging-log4j2 git commit: Better JDBC docs.
Repository: logging-log4j2
Updated Branches:
refs/heads/master 96c3bcab0 -> bb6fcd09e
Better JDBC docs.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/bb6fcd09
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/bb6fcd09
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/bb6fcd09
Branch: refs/heads/master
Commit: bb6fcd09e9860e1657c0f1c2f7286df1c5986e2b
Parents: 96c3bca
Author: Gary Gregory <ga...@gmail.com>
Authored: Thu Jan 18 20:23:30 2018 -0700
Committer: Gary Gregory <ga...@gmail.com>
Committed: Thu Jan 18 20:23:30 2018 -0700
----------------------------------------------------------------------
src/site/xdoc/manual/appenders.xml | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/bb6fcd09/src/site/xdoc/manual/appenders.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/manual/appenders.xml b/src/site/xdoc/manual/appenders.xml
index 04471a5..c62a284 100644
--- a/src/site/xdoc/manual/appenders.xml
+++ b/src/site/xdoc/manual/appenders.xml
@@ -1068,8 +1068,13 @@ CREATE TABLE logs (
</tr>
</table>
<p>When configuring the JDBCAppender, you must specify a <code>ConnectionSource</code> implementation from
- which the Appender gets JDBC connections. You must use exactly one of the <code><DataSource></code>
- or <code><ConnectionFactory></code> nested elements.</p>
+ which the Appender gets JDBC connections. You must use exactly one of the following nested elements:</p>
+ <ul>
+ <li><a href="#JDBCDataSource"><code><DataSource></code></a></li>
+ <li><a href="#JDBCConnectionFactory"><code><ConnectionFactory></code></a></li>
+ <li><a href="#JDBCDriverManager"><code><DriverManager></code></a></li>
+ </ul>
+ <a name="JDBCDataSource"/>
<table>
<caption align="top">DataSource Parameters</caption>
<tr>
@@ -1085,6 +1090,7 @@ CREATE TABLE logs (
by a connection pool; otherwise, logging will be very slow.</td>
</tr>
</table>
+ <a name="JDBCConnectionFactory"/>
<table>
<caption align="top">ConnectionFactory Parameters</caption>
<tr>
@@ -1109,6 +1115,7 @@ CREATE TABLE logs (
only be retrieved once, and it must be backed by a connection pool for the same reasons.</td>
</tr>
</table>
+ <a name="JDBCDriverManager"/>
<table>
<caption align="top">DriverManager Parameters</caption>
<tr>