Click here to Skip to main content
15,898,993 members

Survey Results

How do you log errors in your applications?

Survey period: 29 Jan 2018 to 5 Feb 2018

Knowing you have a problem is the first step in fixing it.

OptionVotes% 
I log to a third party service (eg errlog.io)1148.86
I log to our own logging service26420.51
I log errors to syslog or the native OS logging system18814.61
I log errors to a database34626.88
I log errors to a file63449.26
I log errors via a messaging service such as email, HipChat etc1259.71
I log errors using other methods917.07
I don't log errors in my applications35127.27
Errors? My applications don't produce errors!947.30
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralRe: log4net Pin
Slacker00729-Jan-18 5:58
professionalSlacker00729-Jan-18 5:58 
GeneralIndirectly Pin
W Balboos, GHB29-Jan-18 0:37
W Balboos, GHB29-Jan-18 0:37 
QuestionRe: Indirectly Pin
Slacker00729-Jan-18 2:14
professionalSlacker00729-Jan-18 2:14 
AnswerRe: Indirectly Pin
W Balboos, GHB29-Jan-18 2:18
W Balboos, GHB29-Jan-18 2:18 
GeneralRe: Indirectly Pin
ZurdoDev29-Jan-18 2:21
professionalZurdoDev29-Jan-18 2:21 
GeneralRe: Indirectly Pin
W Balboos, GHB29-Jan-18 2:28
W Balboos, GHB29-Jan-18 2:28 
GeneralRe: Indirectly Pin
Dan Neely29-Jan-18 2:38
Dan Neely29-Jan-18 2:38 
GeneralRe: Indirectly Pin
W Balboos, GHB29-Jan-18 2:47
W Balboos, GHB29-Jan-18 2:47 
That's how you read it. File not found doesn't have to be an addressable error at all, but rather, user error. So - that view - as I see it, is altogether wrong.

The Apache error log records every nuance - an no rational human being would really want to go through that for things like file not found.

On the other hand, undefined index, a real error, is also there. That can be fixed. How many copies of that message ought you keep? More than one is ludicrous.

You, and some others, saw a narrow scope in what an error is and what logging it means.

For me, an error log of my code is something I can find useful - not just a huge list of what will surely be redundant complaints by the system.

Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: Indirectly Pin
TNCaver30-Jan-18 5:55
TNCaver30-Jan-18 5:55 
GeneralRe: Indirectly Pin
W Balboos, GHB30-Jan-18 5:57
W Balboos, GHB30-Jan-18 5:57 
GeneralRe: Indirectly Pin
TNCaver30-Jan-18 7:13
TNCaver30-Jan-18 7:13 
GeneralRe: Indirectly Pin
DJ van Wyk29-Jan-18 20:31
professionalDJ van Wyk29-Jan-18 20:31 
GeneralRe: Indirectly Pin
ZurdoDev29-Jan-18 2:39
professionalZurdoDev29-Jan-18 2:39 
GeneralRe: Indirectly Pin
W Balboos, GHB29-Jan-18 2:51
W Balboos, GHB29-Jan-18 2:51 
GeneralRe: Indirectly Pin
ZurdoDev29-Jan-18 2:53
professionalZurdoDev29-Jan-18 2:53 
GeneralRe: Indirectly Pin
W Balboos, GHB29-Jan-18 2:54
W Balboos, GHB29-Jan-18 2:54 
GeneralRe: Indirectly Pin
ZurdoDev29-Jan-18 2:55
professionalZurdoDev29-Jan-18 2:55 
GeneralRe: Indirectly Pin
TNCaver30-Jan-18 5:57
TNCaver30-Jan-18 5:57 
QuestionLast Option Pin
thatraja29-Jan-18 0:05
professionalthatraja29-Jan-18 0:05 
AnswerRe: Last Option Pin
Mike (Prof. Chuck)29-Jan-18 0:23
professionalMike (Prof. Chuck)29-Jan-18 0:23 
GeneralRe: Last Option Pin
kmoorevs29-Jan-18 4:30
kmoorevs29-Jan-18 4:30 
GeneralRe: Last Option Pin
Mike (Prof. Chuck)29-Jan-18 5:21
professionalMike (Prof. Chuck)29-Jan-18 5:21 
GeneralFile Logging + Kafka with Kibana Pin
Ehsan Sajjad28-Jan-18 23:43
professionalEhsan Sajjad28-Jan-18 23:43 
GeneralLogging is not enough! Pin
Shao Voon Wong28-Jan-18 23:13
mvaShao Voon Wong28-Jan-18 23:13 
GeneralI see we have 7 Klingons! Pin
OriginalGriff28-Jan-18 23:08
mveOriginalGriff28-Jan-18 23:08 

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.