LOG4NET-369 fix the rolling file appender to consider preserveLogFileNameExtension when rolling over time after an application restart

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1437281 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-347 fix the AssemblyInfo to allow partial trust applications on .NET 4.0

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1446054 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-370 fix the RemoteSyslogAppender to properly handle log messages that contain newlines

This patch is based on the work of Jarrod Alexander. Please note that this patch also fixes
indentation issues and thus contains some portions of refactoring. Finally it is worth to note
that the patch primarily focuses on making the syslog messages RFC3164 (http://www.ietf.org/rfc/rfc3164.txt) compliant. The signifant parts of the RFC are:

4.1.3 MSG Part of a syslog Packet 

   The MSG part will fill the remainder of the syslog packet. This will 
   usually contain some additional information of the process that 
   generated the message, and then the text of the message. There is no 
   ending delimiter to this part. The MSG part of the syslog packet 
   MUST contain visible (printing) characters. The code set 
   traditionally and most often used has also been seven-bit ASCII in an 
   eight-bit field like that used in the PRI and HEADER parts. In this 
   code set, the only allowable characters are the ABNF VCHAR values 
   (%d33-126) and spaces (SP value %d32). However, no indication of the 
   code set used within the MSG is required, nor is it expected. Other 
   code sets MAY be used as long as the characters used in the MSG are 
   exclusively visible characters and spaces similar to those described 
   above. The selection of a code set used in the MSG part SHOULD be 
   made with thoughts of the intended receiver. A message containing 
   characters in a code set that cannot be viewed or understood by a 
   recipient will yield no information of value to an operator or 
   administrator looking at it. 

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1461433 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-371 mention in the introduction that *Format methods do not use ObjectRenderers

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1461462 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-375 fix typo in src/Repository/Hierarchy/XmlHierarchyConfigurator.cs

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1467173 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-370 fix RemoteSyslogAppender to log only characters that are valid as of RFC http://www.ietf.org/rfc/rfc3164.txt

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1467176 13f79535-47bb-0310-9956-ffa450edef68
Added Jarrod Alexander to the list of contributors

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1467178 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-290 added an ILog extension that wraps the most common logging statements in a central place

Basically statements like these:
if (log.IsDebugEnabled) log.DebugFormat("x: {0}", 123)

can now be shortened to:
log.DebugExt("x: {0}", 123)

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1476902 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-376 fixed a race condition in AbsoluteTimeDateFormatter by adding a lock around s_lastTimeStrings

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1483375 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-376 extended the lock around s_lastTimeStrings in AbsoluteTimeDateFormatter

This fix should prevent obstructed output in multithreaded environments.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1483378 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-378 fixed a problem where rolled log files get overwritten when the application is restarted

The cause is that InitializeFromOneFile() does not succesfully detect the filenames.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1486596 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-379 fixed an avoidable NullReferenceException raised in the Fileappender ActivateOptions()

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1486868 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-341 fix location info to not contain a reference to StackFrame any more

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1486883 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-318 add [SecuritySafeCritical] attribute to the Attach method of the RemoteLoggingServerPlugin

According to http://stackoverflow.com/questions/8297419/log4net-doesnt-pass-verification-when-compiling this should fix
the PEVerify issue reported.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1486895 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-316 added a configuration example that explains the usage of DynamicPatternLayout

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1489735 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-342 added the property Configured to ILog that allows to check if the repository was configured properly

Usecase:
   if (log.Configured == false) 
   { 
      throw new ConfigurationErrorsException("Log4net failed to initialize properly."); 
   }

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1489736 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-354 added a configuration option that allows to configure the subject and body encoding

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1489769 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-335 fix InternalConfigureAndWatch to allow exactly one watch handler for every config file instead of one watch handler for every repository

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1489819 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-226 added catch ObjectDisposedException clause as suggested by Johannes Krackowizer and confirmed by Ron Grabowski

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1489889 13f79535-47bb-0310-9956-ffa450edef68
LOG4NET-148 thread context properties does now use a ThreadStatic properties dictionary

git-svn-id: https://svn.apache.org/repos/asf/logging/log4net/trunk@1489904 13f79535-47bb-0310-9956-ffa450edef68