The Art Of Application Logging

Ben Waine (07.Oct.2012 at 11:10)
Talk at PHPNW12 (English - UK)

Rating: 5 of 5

Modern web applications are complex, have many layers and usually integrate many technologies. A well structured application log is invaluable for debuging your application in development and monitoring it in production. All this being said it’s amazing how many applications I encounter that either don’t have an application log or have a poor, inconsistent one which is little use to anyone! This session takes a brief look at the basics of logging (libraries and tools) and moves on to look at how to plan an effective logging strategy for your application. Questions like: What to log, logging levels, how much to log and how long to keep historical logs are all addressed. In the second half of the session some of the more interesting things you can do with logs are explained and demonstrated. Aggregating logs across multiple servers, aggregating logs and displaying the results on service dashboards with tools like statsd and Graphine.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 4 of 5

07.Oct.2012 at 11:50 by Stefan Koopmanschap (313 comments)

Really enjoyed this talk. Good overview, nice demo's to show how things actually work.

Rating: 5 of 5

07.Oct.2012 at 11:57 by Marc Towler (10 comments)

Really good talked, I enjoyed it a lot and the live demo's were brave and Ben managed to pull it off well

Rating: 4 of 5

07.Oct.2012 at 12:01 by Dave Ingram (18 comments)

Interesting look at logging systems. It was brave to do live demos, but they seemed to work out pretty well. However, it would have been nice to have a much larger font so people at the back could read it! I found it useful to think about graphing log data – might have to find a way to integrate graphite + StatsD into the infrastructure at my company.

Rating: 5 of 5

07.Oct.2012 at 12:22 by Rob Allen (108 comments)

Extremely well presented talk on logging. Ben knows his content, was rehearsed and provided an entertaining and informative talk.

Rating: 5 of 5

07.Oct.2012 at 12:49 by Simon Wheatley (8 comments)

Really handy information and well presented.

Rating: 4 of 5

07.Oct.2012 at 14:47 by Jujhar Singh (18 comments)

Well structured and presented. Excellent

You could tell a lot of effort had gone into it.

Rating: 3 of 5

07.Oct.2012 at 16:52 by David White (11 comments)

Ben thoroughly explained why logging is essential and covered some basic logging implementations, before jumping into Monolog and various tools that can be used to collate and report from various logs.
Although this was great at a high level, I think it would have been good to cover some specific examples (or patterns and best practices)
of when and where to put logging calls in code.
It would also have been good to show examples in tools other than Monolog, perhaps as a comparison.

Rating: 5 of 5

07.Oct.2012 at 17:12 by Evan Coury (49 comments)

Great talk, and very informative for developers of all experience levels. As others have mentioned, the live demos went smoothly, and the presentation was clearly well planned and rehearsed.

Rating: 5 of 5

07.Oct.2012 at 18:19 by Marc Qualie (3 comments)

Well presented, informative and great live examples made it one of my favourite talks of the weekend. I was already looking into logstash and this made me want to use it even more, awesome presentation!

Rating: 4 of 5

07.Oct.2012 at 20:34 by Gary Hockin (62 comments)

Really good talk, I learned something I will be implementing in my company tomorrow. Any chance of uploading the slides please Ben?

Rating: 5 of 5

07.Oct.2012 at 20:36 by Dave Marshall (17 comments)

Really nice talk, Ben's very confident in a good way, everything he presents is clear and concise.

No real criticisms of the talk, though it would have been better if Ben hadn't had to rush the last few slides due to time constraints. Perhaps the most basic code samples could simply have screen shots, switching to live demos for the more complex or powerful examples could save a little bit of time.

Rating: 5 of 5

08.Oct.2012 at 10:56 by Alex Mace (35 comments)

First off, sorry for my phone going off mid talk!

Other than that, a great introduction to how and why you should log in detail that I definitely want to apply to our codebases.

Speaker comment:

08.Oct.2012 at 13:24 by Ben Waine (26 comments)

Thanks for your comments guys. Here is a link to the slides on slide share: http://www.slideshare.net/benwaine/phpnw2012-logging and the code on github: https://github.com/benwaine/ApplicationLoggingTalk

David White and Dave Marshal: I think your feedback compliments each other. Perhaps less time on the more basic examples and more time showing a real example (before looking at the aggregation tools) would be a good change.

Thanks!

Rating: 5 of 5

08.Oct.2012 at 14:30 by Tadas Sasnauskas (6 comments)

Quality and entertaining talk with lots of nice tips & excellent code examples. Many thanks.

Rating: 5 of 5

08.Oct.2012 at 17:38 by Richard Wharton (10 comments)

Great talk on a topic I really needed some knowledge on, tips on tools to use and things to log to gain visibility in production and during development. The flawless live demos were a good edition too. Would have been nice to see some more examples of what to log in a large application.

Rating: 4 of 5

09.Oct.2012 at 11:15 by Mike Holloway (15 comments)

Delivered well, I particularly liked the advice to include a transaction id so it's easier to trace the full debug route.

Rating: 5 of 5

09.Oct.2012 at 11:42 by Anonymous

Very good talk, well done!

Rating: 5 of 5

09.Oct.2012 at 17:41 by Robert Goldsmith (21 comments)

A superb talk on a oft-forgotten subject. Ben was a clear and confident speaker who took great risk to show multiple real demos that helped to give the talk a practical feel (even though the demos were basic and could easily have been shown as slides of results). The second half of the talk which moved on to business event logging and aggregation was slightly rushed but was still pretty clear and I came away with lots of ideas and enthusiasm for the subject - given we are talking about logging here I'm very impressed!

Rating: 5 of 5

10.Oct.2012 at 13:48 by Stefan Kleff (2 comments)

Thank you for some practical insights! After your talk I felt that I have to improve my own logging ;)

Rating: 5 of 5

11.Oct.2012 at 10:01 by John White (7 comments)

Probably my favourite talk of the weekend.
I have been looking into logging recently and it was very beneficial for me to see how others were doing it. The live demos were good and it was more interesting than just following slides. Lots of good content and I will be looking into many of the things mentioned in this talk.

Rating: 5 of 5

12.Oct.2012 at 20:58 by Alex Luneburg (84 comments)

A great talk given by a great presenter. Who knew application logging could be so interesting? I've taken a lot away from this talk.

Rating: 5 of 5

21.Oct.2012 at 13:08 by Remon van de Kamp (39 comments)

Good talk. I liked the well thought out examples.

© Joind.in 2014