A message box may be helpful but it's best to be proactive instead of
reactive and have some level of server maintenance setup.  Set the
individual log settings to overwrite messages x days old or overwrite as
needed.  This way you will not run out of log space or have production
systems hanging due to an avoidable log filled up.

I found that the best approach is to set the individual log file size high,
like 1024MB, and set the overwrite as needed option.  This size of log will
keep more than adequate history in the log.  If log history is extremely
important, than devise a backup scheme for the *.evt files and clear the
log periodically.

Chad

On Wed, 16 Oct 2002 10:12:34 +0200, Urs Eichmann
<[EMAIL PROTECTED]> wrote:

>> This is an interesting question about what the appropriate behavior
>> should be, though at a minimum you should get a decent error.
>
>I agree with that, there should be a messagebox popping up saying that the
>event log is full. What happens now if the event log is full is: The
service
>just hangs in the services panel, displaying "starting service" for ever.
No
>clue whatsoever what's the problem. Because we recently changed a detail in
>the implementation of the startup procedure of our service, we of course
>thought it is a problem with our code. Since it is not possible to actually
>debug the start of a service, we had a hard time finding out what the
actual
>problem was... luckily it was only on a test system, otherwise the whole
>company would have been down for 1/2 day!!
>
>Urs
>
>You can read messages from the Advanced DOTNET archive, unsubscribe from
Advanced DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to