Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
QuestionCOM+ Event System Pin
Member 813710511-Sep-12 11:40
Member 813710511-Sep-12 11:40 
AnswerRe: COM+ Event System Pin
Bernhard Hiller11-Sep-12 20:24
Bernhard Hiller11-Sep-12 20:24 
Question.Net Validation Pin
rmorton11-Sep-12 8:45
rmorton11-Sep-12 8:45 
Answeroracle exception Pin
yaswanth00111-Sep-12 7:19
yaswanth00111-Sep-12 7:19 
AnswerRe: oracle exception Pin
Andrei Straut11-Sep-12 7:28
Andrei Straut11-Sep-12 7:28 
AnswerRe: oracle exception Pin
Abhinav S11-Sep-12 7:56
Abhinav S11-Sep-12 7:56 
GeneralRe: oracle exception Pin
Pete O'Hanlon11-Sep-12 7:58
mvePete O'Hanlon11-Sep-12 7:58 
QuestionError Logging Pin
CodingYoshi11-Sep-12 3:26
CodingYoshi11-Sep-12 3:26 
I was wondering what you do when you are logging errors and providing error messages during dev, qa, uat and then production. For example, for qa I provide a message to include a guid with their ticket. I provide them the guid. I then use this guid to look up the error message in the log and see what the issue was.

The error messages will change once it goes to production as it will not make sense to ask users to include the guid with their ticket. You simply tell them something went wrong or if they can fix it, tell them what they can do.

The question is:

What is the best practice to use to change error reporting based on qa, uat and production phases?

Here are some ideas I have:

1. I can read from config file for the phase and provide errors accordingly
2. I can have a preprocessor directive defined for each phase
CodingYoshi

Artificial Intelligence is no match for Human Stupidity.

AnswerRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 3:47
mvePete O'Hanlon11-Sep-12 3:47 
GeneralRe: Error Logging Pin
CodingYoshi11-Sep-12 3:53
CodingYoshi11-Sep-12 3:53 
GeneralRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 4:07
mvePete O'Hanlon11-Sep-12 4:07 
AnswerRe: Error Logging Pin
Eddy Vluggen11-Sep-12 5:18
professionalEddy Vluggen11-Sep-12 5:18 
AnswerRe: Error Logging Pin
Abhinav S11-Sep-12 7:50
Abhinav S11-Sep-12 7:50 
GeneralRe: Error Logging Pin
CodingYoshi11-Sep-12 13:57
CodingYoshi11-Sep-12 13:57 
GeneralRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 22:17
mvePete O'Hanlon11-Sep-12 22:17 
QuestionHow to control mediaelement from the server terminal? Pin
ylchau10-Sep-12 23:10
ylchau10-Sep-12 23:10 
AnswerRe: How to control mediaelement from the server terminal? Pin
Pete O'Hanlon10-Sep-12 23:19
mvePete O'Hanlon10-Sep-12 23:19 
GeneralRe: How to control mediaelement from the server terminal? Pin
ylchau11-Sep-12 16:27
ylchau11-Sep-12 16:27 
GeneralRe: How to control mediaelement from the server terminal? Pin
Pete O'Hanlon11-Sep-12 22:42
mvePete O'Hanlon11-Sep-12 22:42 
QuestionDatagridview Sort By number Pin
mohammadkaab10-Sep-12 21:52
mohammadkaab10-Sep-12 21:52 
AnswerRe: Datagridview Sort By number Pin
Mycroft Holmes10-Sep-12 22:00
professionalMycroft Holmes10-Sep-12 22:00 
GeneralRe: Datagridview Sort By number Pin
mohammadkaab10-Sep-12 22:05
mohammadkaab10-Sep-12 22:05 
GeneralRe: Datagridview Sort By number Pin
Pete O'Hanlon10-Sep-12 22:19
mvePete O'Hanlon10-Sep-12 22:19 
GeneralRe: Datagridview Sort By number Pin
Mycroft Holmes10-Sep-12 22:38
professionalMycroft Holmes10-Sep-12 22:38 
QuestionConstructor in static class Pin
amit@iadept10-Sep-12 20:20
amit@iadept10-Sep-12 20:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.