Logging Strategy - What we want to accheive.
Vi vil logge at noe har skjedd. Meldingen som flyter oppover skal inneholde informasjon om hva som har skjedd,
hvilken informasjon som var tilgjengelig da episoden inntraff og log-nivået på eventen.
Logging Tactics - How to implement
- Omfang
- Paramtere
- identifikator - UUID
References
- Kelvin Hennie - "Why is logging such a design and code quality blind spot?"
- Kelvin Hennie - Seems to be an overlooked topic. Most stuff on logging seems to be about framework usage or invention.
- Erik Drolshammer p. 64 onwards http://org.ntnu.no/feta/report.pdf
- "A Log entry must thus be self-explanatory; all information relevant to the incident
should be included." - Debug Debug should therefore be focused on input and
choices that was made. Log messages like “entered while loop” is not useful
and only clutters your logs. A better entry is “Started iteration over 54 news
articles checking for expired date before ’2006-10-10’“. p 67
- "A Log entry must thus be self-explanatory; all information relevant to the incident
- http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html
Labels:
None
3 Comments
comments.show.hideOct 29, 2013
Bård Lind
Monitorering
Use-Case:
Metorikker:
Målepunkter:
Oct 31, 2013
Bård Lind
Self-Management Architecture


OWL2
The Vision of Autonomic Computing
Metrics:
MTBF - Mean time between failure
See Tom Gilb-Planguage
Oct 31, 2013
Bård Lind
Bilder fra Jan Magne. Logging med detaljer. https://www.google.no/search?q=logging+best+practices+as400
purpose