svn commit: r1494880 - /logging/log4net/trunk/src/Appender/EventLogAppender.cs

2013-06-20 Thread dpsenner
Author: dpsenner
Date: Thu Jun 20 07:33:09 2013
New Revision: 1494880

URL: http://svn.apache.org/r1494880
Log:
LOG4NET-382 fixed initialization order of static readonly fields

Modified:
logging/log4net/trunk/src/Appender/EventLogAppender.cs

Modified: logging/log4net/trunk/src/Appender/EventLogAppender.cs
URL: 
http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/EventLogAppender.cs?rev=1494880r1=1494879r2=1494880view=diff
==
--- logging/log4net/trunk/src/Appender/EventLogAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/EventLogAppender.cs Thu Jun 20 07:33:09 
2013
@@ -615,17 +615,6 @@ namespace log4net.Appender
private readonly static Type declaringType = 
typeof(EventLogAppender);
 
/// summary
-   /// The maximum size that the operating system supports for
-   /// a event log message.
-   /// /summary
-   /// remarks
-   /// Used to determine the maximum string length that can be 
written
-   /// to the operating system event log and eventually truncate a 
string
-   /// that exceeds the limits.
-   /// /remarks
-   private readonly static int MAX_EVENTLOG_MESSAGE_SIZE = 
GetMaxEventLogMessageSize();
-
-   /// summary
/// The maximum size supported by default.
/// /summary
/// remarks
@@ -671,6 +660,17 @@ namespace log4net.Appender
private readonly static int 
MAX_EVENTLOG_MESSAGE_SIZE_VISTA_OR_NEWER = 31839 - 2;
 
/// summary
+   /// The maximum size that the operating system supports for
+   /// a event log message.
+   /// /summary
+   /// remarks
+   /// Used to determine the maximum string length that can be 
written
+   /// to the operating system event log and eventually truncate a 
string
+   /// that exceeds the limits.
+   /// /remarks
+   private readonly static int MAX_EVENTLOG_MESSAGE_SIZE = 
GetMaxEventLogMessageSize();
+
+   /// summary
/// This method determines the maximum event log message size 
allowed for
/// the current environment.
/// /summary




svn commit: r1495195 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml

2013-06-20 Thread ggregory
Author: ggregory
Date: Thu Jun 20 21:31:06 2013
New Revision: 1495195

URL: http://svn.apache.org/r1495195
Log:
[LOG4J2-229] New JDBC, JPA, and NoSQL database Appenders. Match example in 
documentation to code.  
https://issues.apache.org/jira/browse/LOG4J2-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13689548#comment-13689548

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=1495195r1=1495194r2=1495195view=diff
==
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/appenders.xml Thu Jun 20 
21:31:06 2013
@@ -1198,7 +1198,7 @@
 configuration status=error
   appenders
 Jdbc name=databaseAppender tableName=application_log
-  DriverManager jdbcUrl=jdbc:mysql://example.org:3306/exampleDb 
username=logging password=abc123 /
+  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 /