logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From UrvishJ <urvish_j...@persistent.co.in>
Subject Unable to log Process Id.
Date Tue, 02 Nov 2010 07:34:17 GMT

Hi Team,

I’m using log4net-1.2.10 for logging. We have  a requirement where we need
to log process id and Thread Id. Following is my configuration


          
     

Following is what I get as output:
2010-10-27 16:10:12,384 [DEBUGrocessid] [4480] DEBUG
Log4netTestApplication.Log - PID = 400Main Starts C:\Documents and
Settings\[username]\My Documents\Visual Studio
2005\Projects\Log4netTestApplication\Log4netTestApplication\Program.cs-22 
2010-10-27 16:10:12,400 [INFOrocessid] [4480] INFO 
Log4netTestApplication.Log - Calling WriteOutStack() C:\Documents and
Settings\[username]\My Documents\Visual Studio
2005\Projects\Log4netTestApplication\Log4netTestApplication\Program.cs-23

@DevTeam:
This issue exists as I can see s_globalRulesRegistry is missing entry of
“processid” key (value - ProcessIdPatternConverter)

Kindly, Let me know if I’m missing something in configuration that I’m
missing process id Or is there any build/version that provides solution to
this?

Thanks in Advance,
Urvish Jain

-- 
View this message in context: http://old.nabble.com/Unable-to-log-Process-Id.-tp30111627p30111627.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

Mime
View raw message