mirec75 opened a new pull request #49: Fixes LOG4NET-630 Log4Net missing 
Timestamp etc. in internal LogLog
URL: https://github.com/apache/logging-log4net/pull/49
 
 
   The Issue [LOG4NET-630](https://issues.apache.org/jira/browse/LOG4NET-630) 
is fixed with this pull request.
   
   Now you can configure in the Web.Config / App.Config what you want to see in 
the internal log4net Log.
   For example:
   
   <appSettings>
     <add key="log4net.Internal.Debug" value="true"/>
     <add key="**log4net.Internal.LogMsgPrefixPattern**" 
value="**%date [%7processid][%3thread][%appdomain]**"/>
   </appSettings>
   
   to get log4net internal trace messages like this:
   `2019-05-22 13:51:30,266 [   5984][  
3][/LM/W3SVC/1/ROOT/sw-f-ch-dn-1-132029994898417032] log4net: 
defaultRepositoryType [log4net.Repository.Hierarchy.Hierarchy]`
   ...
   `2019-05-22 13:51:30,322 [   5984][  
3][/LM/W3SVC/1/ROOT/sw-f-ch-dn-1-132029994898417032] log4net: Adding appender 
named [LogFile] to logger [root].`
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to