The Artima Developer Community
Sponsored Link

Java Buzz Forum
Logging and Performance

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mike Shoemaker

Posts: 158
Nickname: mikeshoe
Registered: Sep, 2004

Mike Shoemaker is senior Java developer using Ruby
Logging and Performance Posted: Jan 10, 2005 1:14 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Mike Shoemaker.
Original Post: Logging and Performance
Feed Title: Unruly Rambling (java category)
Feed URL: http://www.shoesobjects.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on software, technology, and life in general
Latest Java Buzz Posts
Latest Java Buzz Posts by Mike Shoemaker
Latest Posts From Unruly Rambling (java category)

Advertisement

ClassNotFound states that running a small app on Tomcat with org.apache.catalina package logging set to FINEST takes 10x longer to start up than if it's set to INFO.

This is a pet peeve of mine. Why on earth do so many developers integrate such verbose logging into their applications? I am very much an advocate of having terse logging that is meaningful. How many times have you seen a line of code followed by a line of logging? Insane I tell you!! If you extrapolate this out to a medium size project, think of the code bloat. Probably 40-50%, which is ridiculous. If you have to introduce that much logging to understand what is going on in your application, maybe refactoring the application would be a good place to start. Also, you could use this time more effectively by writing copious unit tests to help prove that your application works as expected. Without unit tests, the application's behavior may change from release to release.

Read: Logging and Performance

Topic: Growl: notification system for the Mac Previous Topic   Next Topic Topic: Happy New Year 2005!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use