There are logging classes built into Java 1.4+. Here is how you use them:
Log4J allows channels to stream different classes of messages to different files, and to configure logging behaviour after the code is compiled on a very fine granularity.
Instead of peppering your code with debugging println statements that you remove entirely when you find the bug, with logging you leave the logging/generic debug instrumentation code in place and turn it on and off, in different parts of the program, to varying degrees of detail, at run time, without having to recompile. You normally leave at least a minimum amount of the logging engaged even in production to help track down trouble and to produce statistics.
Normally small project would not use a formal logging package, but almost any team project will be fitted with a logger.
recommend book⇒The Complete Manual log4j | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
by | Ceki Gülcü | 978-2-97003690-6 | paperback | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
publisher | QOS.ch | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
published | 2003-05-07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
The author is the creator of Log4J. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder. |
This page is posted |
http://mindprod.com/jgloss/logging.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\logging.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.191.171.136] |
| |
Feedback |
You are visitor number | |