Click here to Skip to main content
15,886,003 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Logging PinPopular
OriginalGriff4-Jul-22 7:59
mveOriginalGriff4-Jul-22 7:59 
GeneralRe: Logging Pin
Calin Negru4-Jul-22 8:26
Calin Negru4-Jul-22 8:26 
GeneralRe: Logging Pin
OriginalGriff4-Jul-22 8:59
mveOriginalGriff4-Jul-22 8:59 
GeneralRe: Logging Pin
Calin Negru4-Jul-22 9:20
Calin Negru4-Jul-22 9:20 
GeneralRe: Logging Pin
OriginalGriff4-Jul-22 9:49
mveOriginalGriff4-Jul-22 9:49 
GeneralRe: Logging Pin
PIEBALDconsult4-Jul-22 8:59
mvePIEBALDconsult4-Jul-22 8:59 
GeneralRe: Logging Pin
Calin Negru4-Jul-22 9:54
Calin Negru4-Jul-22 9:54 
GeneralRe: Logging PinPopular
Chris Maunder4-Jul-22 10:36
cofounderChris Maunder4-Jul-22 10:36 
This is such an insanely huge topic of discussion.

Here's what we do:
  • Every exception thrown in our code gets logged
  • When we fix a bug that's due to odd input or conditions we generally log the odd condition up to the point where it's common enough we feel we have a handle on it's many guises
  • When there's a spot where the code simply cannot, ever, in a million years be reached, and it's reached, we log it.
  • When there are failures of external services we might log them in order to work out what conditions will cause it to fail so we can work on preemptively not causing those conditions
  • When conditions in our app become extreme (eg serious user load, serious queue back-ups etc) we log them
Some of these logs are for debugging, some for planning, some of these logs are used to trigger alerts, and some for our own amusement.
cheers
Chris Maunder

JokeRe: Logging Pin
FreedMalloc4-Jul-22 11:02
FreedMalloc4-Jul-22 11:02 
GeneralRe: Logging Pin
Chris Maunder4-Jul-22 11:17
cofounderChris Maunder4-Jul-22 11:17 
GeneralRe: Logging Pin
Keefer S6-Jul-22 2:42
Keefer S6-Jul-22 2:42 
GeneralRe: Logging Pin
Gary Wheeler6-Jul-22 5:21
Gary Wheeler6-Jul-22 5:21 
GeneralRe: Logging Pin
jmaida4-Jul-22 17:45
jmaida4-Jul-22 17:45 
GeneralRe: Logging Pin
jmaida4-Jul-22 17:59
jmaida4-Jul-22 17:59 
GeneralRe: Logging Pin
Calin Negru4-Jul-22 21:38
Calin Negru4-Jul-22 21:38 
GeneralRe: Logging Pin
Daniel Anderson 20216-Jul-22 4:45
Daniel Anderson 20216-Jul-22 4:45 
GeneralRe: Logging Pin
Gerry Schmitz5-Jul-22 8:29
mveGerry Schmitz5-Jul-22 8:29 
GeneralRe: Logging Pin
englebart5-Jul-22 4:42
professionalenglebart5-Jul-22 4:42 
GeneralRe: Logging Pin
PIEBALDconsult5-Jul-22 6:51
mvePIEBALDconsult5-Jul-22 6:51 
GeneralRe: Logging Pin
Calin Negru5-Jul-22 21:09
Calin Negru5-Jul-22 21:09 
GeneralRe: Logging Pin
Gerry Schmitz5-Jul-22 8:24
mveGerry Schmitz5-Jul-22 8:24 
GeneralRe: Logging Pin
Calin Negru6-Jul-22 4:53
Calin Negru6-Jul-22 4:53 
GeneralRe: Logging Pin
Member 91670575-Jul-22 20:13
Member 91670575-Jul-22 20:13 
GeneralRe: Logging Pin
Owen Lawrence6-Jul-22 2:27
Owen Lawrence6-Jul-22 2:27 
GeneralRe: Logging Pin
darktrick5446-Jul-22 2:37
darktrick5446-Jul-22 2:37 

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.