Click here to Skip to main content
15,884,099 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: Perseverance landing video Pin
glennPattonWork323-Feb-21 3:03
professionalglennPattonWork323-Feb-21 3:03 
GeneralRe: Perseverance landing video Pin
obermd23-Feb-21 3:31
obermd23-Feb-21 3:31 
GeneralRe: Perseverance landing video Pin
glennPattonWork323-Feb-21 5:27
professionalglennPattonWork323-Feb-21 5:27 
GeneralRe: Perseverance landing video Pin
markrlondon23-Feb-21 11:25
markrlondon23-Feb-21 11:25 
GeneralRe: Perseverance landing video Pin
glennPattonWork324-Feb-21 11:11
professionalglennPattonWork324-Feb-21 11:11 
GeneralWhen dealing with kids never look for the perfection, admire the effort... Pin
Kornfeld Eliyahu Peter22-Feb-21 20:06
professionalKornfeld Eliyahu Peter22-Feb-21 20:06 
GeneralLogging, as in application level... Pin
charlieg22-Feb-21 10:40
charlieg22-Feb-21 10:40 
GeneralRe: Logging, as in application level... Pin
Chris Maunder22-Feb-21 10:56
cofounderChris Maunder22-Feb-21 10:56 
A philosophy question then.

We have four main types of logging:
  1. Traffic logging. The boring standard old stuff.
  2. Error logging. Reactive by definition
  3. Process logging. How many times did X happen per time interval
  4. Health logging. Preemptive.
Our Health logging is the most interesting because it's broken into a few main areas (disc, database, file and cache server) and is all defined using a set of rules in a JSON file that can easily be updated.

We build rules to run a test against systems that could be in error to spot conditions that may lead to an error, or may indicate that something else isn't working which may in turn cause an error. For instance, is memory getting low? Are we seeing too many network outages? Our background process queue is starting to fill up, we're not seeing as many votes as we'd expect, our cache server seems to be a bit slower than we'd expect. Each of the rules is run every 5 minutes and then we build a page that has a big green tick or a big red X. If the X appears our monitoring guys let us know and we can dig in and see what's happening before things get out of control.

Our logging / monitoring is always (almost by definition) going to be reactive, but over time we've built up a great set of rules that enable us to head issues off at the pass.
cheers
Chris Maunder

GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 11:24
mvahoney the codewitch22-Feb-21 11:24 
GeneralRe: Logging, as in application level... Pin
Gerry Schmitz22-Feb-21 12:35
mveGerry Schmitz22-Feb-21 12:35 
GeneralRe: Logging, as in application level... Pin
Chris Maunder22-Feb-21 13:17
cofounderChris Maunder22-Feb-21 13:17 
GeneralRe: Logging, as in application level... Pin
Rick York22-Feb-21 19:34
mveRick York22-Feb-21 19:34 
GeneralRe: Logging, as in application level... Pin
Jörgen Andersson22-Feb-21 22:42
professionalJörgen Andersson22-Feb-21 22:42 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 11:18
mvahoney the codewitch22-Feb-21 11:18 
GeneralRe: Logging, as in application level... Pin
TheGreatAndPowerfulOz22-Feb-21 12:03
TheGreatAndPowerfulOz22-Feb-21 12:03 
GeneralRe: Logging, as in application level... Pin
Gary R. Wheeler22-Feb-21 12:08
Gary R. Wheeler22-Feb-21 12:08 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 12:12
mvahoney the codewitch22-Feb-21 12:12 
GeneralRe: Logging, as in application level... Pin
charlieg24-Feb-21 1:54
charlieg24-Feb-21 1:54 
GeneralRe: Logging, as in application level... Pin
Greg Utas22-Feb-21 11:40
professionalGreg Utas22-Feb-21 11:40 
GeneralRe: Logging, as in application level... Pin
charlieg24-Feb-21 1:56
charlieg24-Feb-21 1:56 
GeneralRe: Logging, as in application level... Pin
Eddy Vluggen22-Feb-21 12:01
professionalEddy Vluggen22-Feb-21 12:01 
GeneralRe: Logging, as in application level... Pin
Randor 22-Feb-21 12:14
professional Randor 22-Feb-21 12:14 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 12:32
mvahoney the codewitch22-Feb-21 12:32 
GeneralRe: Logging, as in application level... Pin
Randor 22-Feb-21 12:51
professional Randor 22-Feb-21 12:51 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 12:59
mvahoney the codewitch22-Feb-21 12:59 

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.