Click here to Skip to main content
15,897,704 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%



 
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 
GeneralRe: I see we have 7 Klingons! Pin
Daniel Pfeffer29-Jan-18 21:27
professionalDaniel Pfeffer29-Jan-18 21:27 
GeneralOwn Logging System / Database with retention time Pin
Mike (Prof. Chuck)28-Jan-18 22:26
professionalMike (Prof. Chuck)28-Jan-18 22:26 
We developed our own logging system containing the standard levels from debug to fatal.
The logging System is cross-plattform and logs to a local logging database (ios, android, windows).
Each log level has a retention time (verbose/debug 24 hours, info, warn 96 hours, error 168 hours, fatal forever). a client-side cleanup job that runs every 1000 log lines does a background delete of all outdated entries, thus making the db log more or less a ring buffer.

It is purely appender-based, and for the windows platform we have local log appenders, eventlog appender (windows eventlog, logs only errors and fatals) as well as a serverappender, which logs errors and fatals to a central serverside log database so the monitoring system can catch them.

For debugging we have console appender, file appender, etc.
Each appender has its own log level, so we can set up the eventlog appender to level "error", which means, it will only trigger for log events of error or above, while the console appender runs on debug level. standard production setting for the appenders is "info".

GeneralLogging Pin
Simon_Whale28-Jan-18 22:04
Simon_Whale28-Jan-18 22:04 
GeneralOwn Log file always rocks...! Pin
koolprasad200328-Jan-18 19:38
professionalkoolprasad200328-Jan-18 19:38 
GeneralRe: Own Log file always rocks...! Pin
theoldfool30-Jan-18 1:41
professionaltheoldfool30-Jan-18 1:41 
GeneralIf only I knew... Pin
Sander Rossel28-Jan-18 19:37
professionalSander Rossel28-Jan-18 19:37 
GeneralRe: If only I knew... Pin
Mike (Prof. Chuck)29-Jan-18 0:33
professionalMike (Prof. Chuck)29-Jan-18 0:33 
GeneralRe: If only I knew... Pin
Sander Rossel29-Jan-18 0:38
professionalSander Rossel29-Jan-18 0:38 
GeneralRe: If only I knew... Pin
Mike (Prof. Chuck)29-Jan-18 1:19
professionalMike (Prof. Chuck)29-Jan-18 1:19 
GeneralRe: If only I knew... Pin
Sander Rossel29-Jan-18 6:13
professionalSander Rossel29-Jan-18 6:13 
GeneralRe: If only I knew... Pin
Mike (Prof. Chuck)29-Jan-18 7:40
professionalMike (Prof. Chuck)29-Jan-18 7:40 

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.