RE: Including datetime stamp in the log messages.

2005-09-19 Thread Ganapatiraju, Shiva \(OCFS\)
Title: RE: Including datetime stamp in the log messages. how do i write to event log on 1) User 2) Machine Name 3) Client  Machine Name. thanks Shiva Ganapatiraju New York State Office of Children & Family Services Information Technology/SSOP Project 518.403.9056 [EMAIL PROTECTED] http

RE: Logging based on userID

2005-09-22 Thread Ganapatiraju, Shiva \(OCFS\)
I am new to log4net. I want to pass userid while logging how do I do it. Thanks in advance Shiva Ganapatiraju New York State Office of Children & Family Services Information Technology/SSOP Project 518.403.9056 [EMAIL PROTECTED] http://ocfs.state.nyenet/admin/ofm/rsu --

RE: how can i add my custom infomaition

2005-09-23 Thread Ganapatiraju, Shiva \(OCFS\)
AS SOON AS U LOGIN set log4net.MDC.Set("User", HttpContext.Current.User.Identity.Name) In log4net.mdc you set all your custom fields and values it can pick up from. In your configuration file use hope this helps. Shiva Ganapatiraju New York State Office of Children & Family Services

RE: How to log EventID with EventLogAppender?

2005-09-23 Thread Ganapatiraju, Shiva \(OCFS\)
Even after log4net.ThreadContext.Properties("EventId") = 5 log4net.ThreadContext.Stacks("EventId").Push("5") log.Error("Error Login Page.", ex) I am getting this error. The description for Event ID ( 0 ) in Source ( SSOPWebError ) cannot be found. The local computer ma

Logging of the errors

2006-04-05 Thread Ganapatiraju, Shiva \(OCFS\)
Hi Ron, I want to log into my LocalHost for errors. But does not seem to do that. http://Localhost/SSOPAppLog.txt"; /> Any help is appreciated. With warm regards, Shiva Shiva Ganapatiraju Developer - SSOP , NYS - OCFS 5

RE: Logging of the errors

2006-04-06 Thread Ganapatiraju, Shiva \(OCFS\)
:\blah\blah) syntax or look into using a network-aware appender like RemotingAppender, etc. On 4/5/06, Ganapatiraju, Shiva (OCFS) <[EMAIL PROTECTED]> wrote: Hi Ron,I want to log into my LocalHost  for errors. But does not seem to dothat.type="log4net.Appender.RollingFileAppen

RE: Loggin to multiple appenders

2006-04-06 Thread Ganapatiraju, Shiva \(OCFS\)
Hi Mathew, We decided to write to c:\\temp on the Server. thank you and appreicate your  reply.   With warm regards,ShivaShiva Ganapatiraju Developer – SSOP , NYS - OCFS518-473-7785  (Albany) : [EMAIL PROTECTED] Check out our Engagement Dashboard http://sdssnet5/ocfs/admin/ofm/rsu   W

Rolling File Appender

2006-07-13 Thread Ganapatiraju, Shiva \(OCFS\)
Title: Rolling File Appender Hi, I am using a rolling file appender. Can I create the files with Data Time stamp instead of creating file as log1, log2 or Log3. Thanks Shiva This communication, together with any attachments hereto or links contained herein, is for the sole us