tag:blogger.com,1999:blog-22244987.post4544522664442981221..comments2024-02-26T15:04:50.250+01:00Comments on Mijalko: Enterprise library - real time log viewerMijalkohttp://www.blogger.com/profile/06817373299179169302noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-22244987.post-22834523118847599322010-04-28T12:00:17.981+01:002010-04-28T12:00:17.981+01:00thanks a lot, buddythanks a lot, buddyMitesh Patelhttps://www.blogger.com/profile/06635386549562081280noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-11904408051599655402010-04-28T12:00:17.605+01:002010-04-28T12:00:17.605+01:00thanks a lot, buddythanks a lot, buddyMitesh Patelhttps://www.blogger.com/profile/06635386549562081280noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-54199432103858978132010-04-28T11:52:16.155+01:002010-04-28T11:52:16.155+01:00OK. Tomorrow, I will update sample applications wi...OK. Tomorrow, I will update sample applications with source code.Mijalkohttps://www.blogger.com/profile/06817373299179169302noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-1528514701776525742010-04-28T11:45:48.986+01:002010-04-28T11:45:48.986+01:00Can you provide me one sample application with sou...Can you provide me one sample application with source code so i can understand it in a better way.<br /><br />Please, reply as soon as possible.<br /><br />Thanks in advance.Mitesh Patelhttps://www.blogger.com/profile/06635386549562081280noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-13739853510932232332010-04-28T11:06:21.454+01:002010-04-28T11:06:21.454+01:00Hi Mitesh,
you don't need to implement your o...Hi Mitesh,<br /><br />you don't need to implement your own custom trace listener. I have implemented one (RtTraceListener.TraceListener). You should use this one. And this trance listener will send data to application (from zip) that will show you events in real time<br /><br />So flow will be:<br />Microsoft Enterprise Library Logging Block (creates logs)=> RtTraceListener (captures logs and passes to Log Viewer)=> Log Viewer (receives logs and show logs in real time).<br /><br />If you still have a problem you can contact me at mijalko - at - gmail comMijalkohttps://www.blogger.com/profile/06817373299179169302noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-75141010391275616642010-04-28T10:57:43.163+01:002010-04-28T10:57:43.163+01:00Hi Mijalko,
Thanking you for your prompt reply.
...Hi Mijalko,<br /><br />Thanking you for your prompt reply.<br /><br />As per my understanding from your article I am going to apply following logic flow.<br /><br />Microsoft Enterprise Library Logging Block (creates logs)=> Custom Trace Event Listener (captures logs and passes to WCF Service)=> WCF Service (receives logs and passes to Log Viewer) => Log Viewer (receives logs).<br /><br />I have created Custom Trace Listener class that implements following methods<br />1. public override void Write(string message){}<br />2. public override void WriteLine(string message){}<br />3. public override void TraceData(TraceEventCache eventCache, string source,<br /> TraceEventType eventType, int id, object data)<br /><br />But now my problem is that how to send log events to WCF service and how to read log using this service from Log Viewer?<br /><br />Can you please explain the detail code if possible?<br /><br />Thanks in advance<br />Mitesh PatelMitesh Patelhttps://www.blogger.com/profile/06635386549562081280noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-56122652584268504192010-04-27T13:16:09.045+01:002010-04-27T13:16:09.045+01:00Hi Mitesh
at http://www.mijalko.com/realtimelogvi...Hi Mitesh<br /><br />at http://www.mijalko.com/realtimelogviewer<br />you can find explanation and sample application. And this library is not for reading log file in real time. The purpose is to send log events from enterprise library in real time to my log application.Mijalkohttps://www.blogger.com/profile/06817373299179169302noreply@blogger.comtag:blogger.com,1999:blog-22244987.post-7876363567265854172010-04-27T13:08:27.419+01:002010-04-27T13:08:27.419+01:00Hi Mijalko,
can you please explain detail how to ...Hi Mijalko,<br /><br />can you please explain detail how to read log from enterprise lib at real time?Mitesh Patelhttps://www.blogger.com/profile/06635386549562081280noreply@blogger.com