Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to send application errors and logs by internet to the developers?

As the author of a C# application, I found that troubleshooting issues reported by users would be much easier if I had access to the exception or debug logs.

I have included a home-grown logging mechanism that the user can turn on or off. I want the user to be able to submit the logs via the internet so I can review the logs for the error.

I have thought of using either SMTPClient or a web service to send the information. SMTPClient might not work because firewalls may block outgoing SMTP access. Would a web service has issue with sending a large amount of data (potentially 1+ MB)?

What would you recommend as the best way to have an application transmit error reports directly to developers for review?

EDIT: Clarification: This is a Windows application and when an error occurs I want to bring up a dialog asking to submit the error. My question is about the mechanism to transmit the error log from the application to me (developer) via the internet.

like image 799
Chris Thompson Avatar asked May 24 '09 02:05

Chris Thompson


1 Answers

Some way that let's the user know you mean to do it. Ask them for a proxy, ask them for an email server, something like that.

The security minded will get real nervous if they discover that you're opening a socket or something like it and sending data out without notification.

And rightly so.

like image 186
Charlie Martin Avatar answered Sep 22 '22 06:09

Charlie Martin