[
https://issues.apache.org/jira/browse/LOG4NET-630?focusedWorklogId=247571&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247571
]
ASF GitHub Bot logged work on LOG4NET-630:
------------------------------------------
Author: ASF GitHub Bot
Created on: 23/May/19 17:33
Start Date: 23/May/19 17:33
Worklog Time Spent: 10m
Work Description: mirec75 commented on 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]
Issue Time Tracking
-------------------
Worklog Id: (was: 247571)
Time Spent: 10m
Remaining Estimate: 0h
> Log4Net missing Timestamp etc. in internal LogLog
> -------------------------------------------------
>
> Key: LOG4NET-630
> URL: https://issues.apache.org/jira/browse/LOG4NET-630
> Project: Log4net
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.8
> Reporter: Miro Jablonsky
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I am facing the same problem as described in following StackOverflow topic:
> [Log4Net internal debug
> Timestamp|https://stackoverflow.com/questions/40077917/log4net-internal-debug-timestamp]
>
> Citation:
> I am having intermittent problems with Log4net not logging and in other
> threads there is a suggestion to setup internal logging by
> <add key="{color:#d04437}log4net.Internal.Debug{color}"
> value="{color:#d04437}true{color}"/>
> I have added this and it does work, which is great, but there is no
> timestamp. Is there a way I can have Timestamp on the internal logging. Any
> help is appreciated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)