The errors are coming through fine in my file appender, but not in the sql appender.
Offending line:
int x = 0;
int y = 1 / x;
EDIT: apparently it doesn’t log anything that’s unhandled…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Maybe you should post a little more information (e.g. the log4net configuration)… based on what you write I assume the following:
I think that this means, there is something wrong with the configuration of the ado appender. Probably you try to pass the exception object and this somehow does not work correctly (type mismatch of sorts). Turning on internal debugging should indicated exactly what goes wrong.