Smart Client - Where should errors be logged?

  • Thread starter Thread starter Harsh Thakur
  • Start date Start date
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
 
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
 
Back
Top