You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2023/05/01 22:51:19 UTC
[logging-log4cxx] 01/02: Fix doxygen documentation
This is an automated email from the ASF dual-hosted git repository.
rmiddleton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit e839e8136f15222617f92a1458cc4d630d8431cd
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Mon May 1 18:35:31 2023 -0400
Fix doxygen documentation
---
src/main/include/log4cxx/db/dbappender.h | 2 +-
src/main/include/log4cxx/db/odbcappender.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/include/log4cxx/db/dbappender.h b/src/main/include/log4cxx/db/dbappender.h
index 5dc37f4a..595c6f2e 100644
--- a/src/main/include/log4cxx/db/dbappender.h
+++ b/src/main/include/log4cxx/db/dbappender.h
@@ -96,7 +96,7 @@ namespace db
* ~~~
*
* A similar configuration can be used for SQLite:
- * * ~~~{.xml}
+ * ~~~{.xml}
* <appender name="SqlDBAppender" class="DBAppender">
* <param name="drivername" value="sqlite3"/>
* <param name="DriverParams" value="/path/to/database.db"/>
diff --git a/src/main/include/log4cxx/db/odbcappender.h b/src/main/include/log4cxx/db/odbcappender.h
index 36135b16..6c65ad45 100644
--- a/src/main/include/log4cxx/db/odbcappender.h
+++ b/src/main/include/log4cxx/db/odbcappender.h
@@ -144,6 +144,8 @@ An example configuration that writes to the data source named "LoggingDSN" is:
</appender>
</log4j:configuration>
~~~
+
+You may also want to consider the DBAppender class, which uses APR in order to support logging to databases apart from ODBC.
*/
class LOG4CXX_EXPORT ODBCAppender : public AppenderSkeleton