Thanks for your information. Where is this EventLog file be located in the PC? How do i open and see the EventLog file to view the list of all probable exceptions my application could have generated
(I write all exceptions to the log). Please help. Thanks!!!!
Thanks & Regards,
ACS - Life Safety - Fire Systems - Silent Knight
Success is about turning stones into milestones
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error
It won't get logged because you didn't specify the category to use. You can use this, Logger.Write(ex.Message, "General"). The "General" category by default is added when you add the Logging Application
Block. The General category contains the FormattedEventLog TraceListener which is designed to log in the EventLog.
Global Technology & Solutions