Smart Client - Where should errors be logged?

H

Harsh Thakur

Hi,

We are about to implement error logging in our .NET Smart Client
application. We will be logging to the Event Log (for both client and
server) and to a database table (for server side).
We are using the MS EMAB (Exception Management Application Block).

We wanted to understand what would be a better approach.

Should all errors be logged on the server only or should they be logged
at both ends, depending on where the error occurred?

Thanks in advance.

Regards,
Harsh Thakur
 
M

Michael Nemtsev

Hello Harsh,

It depends on errors and their severity.
Error logging helps you to maintain app erros, therefore it should locate
where u will maintain theml.

Serverside errors mostly insignificant for client, and you can loggin system
write erros in Eventlog (to give ability admin to help u)
and other errors write in text log file.

Client side errors should be logged to text file. We must consider that user
will not look at EvenLog to find out why you app is not working.
The best approach to log client errors in text file and send them to you
to analyze afterwards

HT> We are about to implement error logging in our .NET Smart Client
HT> application. We will be logging to the Event Log (for both client
HT> and
HT> server) and to a database table (for server side).
HT> We are using the MS EMAB (Exception Management Application Block).
HT> We wanted to understand what would be a better approach.
HT>
HT> Should all errors be logged on the server only or should they be
HT> logged at both ends, depending on where the error occurred?

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top