where it will be logged if Event Viewer is full?

Topics: Logging Application Block
Jul 28, 2009 at 7:05 AM

Hi,

My requirement is to see ,where it will be logged if the Event Viewer full?

can u please tell me how to make Event Viewer full and if it is full where it will be logged?

For making Event Viewer full,I have tried the following..

1.Set the Maximum Log Size as to the lowest(ie:64KB).

2.I have selected the 'Do not Override events'.

I have ran the application so  many time its not getting filled...

 

Jul 28, 2009 at 9:23 AM

Hi,

I tried filling up my event log by logging inside a for loop. i also set my Max log size to be 64KB. (I did this in the "Application" logs only). Please see this link http://technet.microsoft.com/en-us/library/bb726966.aspx, it tells a lot about the event viewer and the logs. In your case, when the option is "Do not Overwrite events", when the maximum size it reached, it will generate error message telling you that the event log is full (although I haven't seen that error message yet :-) ).

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com

Aug 14, 2009 at 11:00 AM

I have created the event log in Event Viewer(ex:"test") and done the following

1.Set the Maximum Log Size as to the lowest(ie:64KB).

2.I have selected the 'Do not Override events'.

Its getting filled when am tring to fill it by for loop.

Its not throwing any exception to know wether it is full r not?

Aug 17, 2009 at 4:03 AM

The exception is being handled by the Logging Application Block.  If you choose a different tracelistener other than the FormattedEventLogTraceListener for the Logging Errors and Warnings section, you'll see a log entry stating that tracing for the log source {categoryName} failed and an exception message below saying that the event log is full.

 

Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com