Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
www.immobilienscout24.de
Berlin | 26.10.2015 | Schlomo Schapiro
Systems Architect / Open Source Evangelist
http://creative...
WARNING - Datafile Has
Warnings And/Or Errors
Oct 24 07:54:25 brho colord[1110]:
(colord:1110): Cd-WARNING **: failed to
g...
DEBUG INFO WARN ERROR FATAL
3 95 171 97 0
Analysis of /var/log* on my
Ubuntu 15.04 desktop:
DEBUG INFO WARN ERROR FATAL
DEBUG INFO WARN ERROR FATAL
DEBUG INFO WARN ERROR FATAL
AUTOMATION
FRIENDLY
?
DEBUG INFO WARN ERROR FATAL
3 95 171 97 0
WARN
= Not
Responsible
DEBUG INFO WARN ERROR FATAL
INFO FATAL
Nothing
happened:
Keep
working
System
broken:
Replace
automatically
Take Away
◉ Reduce Log Levels
◉ PLEASE: Actionable Error Messages
◉ Server Logs = Server Trouble
➨ ERROR connection to DB
...
Upcoming SlideShare
Loading in …5
×

WARNING is a waste of my time

3,005 views

Published on

How many log levels do you know? How many log levels are actually useful? What is the practical difference between WARNING and NOTICE?

I believe that in a world of automation, I need only two log levels:

ERROR and everthing else.

ERROR means that I as a human should take action. Everything else is irrelevant for me. All the other log levels are IMHO a remnant of the past from the last century. This ignite talk looks at the WARNING problem from both a Dev and an Ops perspective in order to find a useful definition for the age of automation.

See http://blog.schlomo.schapiro.org/2015/04/warning-is-waste-of-my-time.html for blog article with more info.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WARNING is a waste of my time

  1. 1. www.immobilienscout24.de Berlin | 26.10.2015 | Schlomo Schapiro Systems Architect / Open Source Evangelist http://creativecommons.org/licenses/by-nd/4.0 WARNING is a waste of my time @schlomoschapiro
  2. 2. WARNING - Datafile Has Warnings And/Or Errors Oct 24 07:54:25 brho colord[1110]: (colord:1110): Cd-WARNING **: failed to get session [pid 5151]: Unknown error -2 Oct 17 07:54:09 brho kernel: [292950.865647] EXT4-fs (sdb1): warning: mounting fs with errors, running e2fsck is recommended dpkg: warning: ignoring pre-dependency problem!
  3. 3. DEBUG INFO WARN ERROR FATAL 3 95 171 97 0 Analysis of /var/log* on my Ubuntu 15.04 desktop:
  4. 4. DEBUG INFO WARN ERROR FATAL
  5. 5. DEBUG INFO WARN ERROR FATAL
  6. 6. DEBUG INFO WARN ERROR FATAL AUTOMATION FRIENDLY ? DEBUG INFO WARN ERROR FATAL 3 95 171 97 0
  7. 7. WARN = Not Responsible
  8. 8. DEBUG INFO WARN ERROR FATAL INFO FATAL Nothing happened: Keep working System broken: Replace automatically
  9. 9. Take Away ◉ Reduce Log Levels ◉ PLEASE: Actionable Error Messages ◉ Server Logs = Server Trouble ➨ ERROR connection to DB ➨ ERROR disk full ➨ … ◉ User Trouble = Customer Support ➨ ERROR user tried 100 times wrong password ➨ ERROR invalid user email, not sending order confirmation ➨ ERROR user did not save shopping basket ➨ … http://go.schapiro.org/slides http://www.schapiro.org/schlomo/publications

×