Software > > Best Sellers > e-Docs






Price: $9.95

(as of 2012-10-06 22:03:04 PST)

Available for download now

e-Docs

Released: 2002-03-01

 


JDK 1.4 Tutorial, eDoc 4 : Instrumenting Your Code with Logging Messages by Gregory Travis

Description

There are a number of logging systems that have been created for Java, but lack of standardization has prevented them from reaching their full potential. JDK 1.4 comes complete with a new API that lets you log important run-time information from your Java program. It provides multiple detail levels and multiple configuration methods.

This e-doc will teach you how to get the most out of this new feature — how to set up logging, and how to decide what information to log, and how. You'll also learn how to customize logging to suit your specific needs.

This e-doc will show you how to:

  • Log message from your program
  • Set up logging for a package
  • Use different logging levels for different messages
  • Create a custom Handler
  • Create a custom Filter
  • Create a custom Formatter
  • Deal with logging efficiency issues
  • Configure logging from a configuration file
  • Configure logging from code

Sample programs included in this chapter:

  • A chat (instant messaging) server with a full set of logging statements
  • A GUI interface to the logging system
  • A custom formatter that emits briefer messages

Check All Offers Add to Wish List Customer Reviews

Book Details

Author: Gregory Travis Publisher: Manning Publicatio.. Binding: Digital



Become a fan of EbooksPublication.com | Best Source for Kindle eBooks on Facebook for the inside scoop on latest and most exclusive books.