Sending Errors to Event Viewer from Application_Error in global.asax

1. Are there any risks involved with creating events in windows event viewer from applications? For example, what if there is an infinite loop (by mistake) which creates this events in event viewer? Could  this overload the server, leave it without space?

2. How much can I customize the content of the error message?
Who is Participating?
1mdConnect With a Mentor Commented:
There is no risk with creating events and you can limit the log size from using too much disk space

You can Create a Custom View for the event viewer
You can create a filter that includes events from multiple event logs that satisfy specified criteria.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.