| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ] |
| Articles |
- Write custom appenders for log4j by Allen Holub - [Clicks: 384]
The Apache Software Foundation's log4j logging library is one of the better logging systems around. It's both easier to use and more flexible than Java's built-in logging system. This article shows you how to extend log4j with a custom "appender," the part of the system that actually writes the logging messages. This article also provides a simple example of Java's socket APIs and multithreading capabilities.
http://www.javaworld.com/javaworld/jw-12-2004/jw-1220-toolbox.html - Dec, 2004 - Java Application Instrumentation with Log4J by Lara D'Abreo - [Clicks: 376]
Learn how to instrument your Java applications using log4j and regular expressions. It's as simple as mining your logs for application and performance metrics - in real-time.
[Includes source code]
http://www.devx.com/Java/Article/22110 - Oct, 2004 - Reporting Application Errors by Email by Sean C. Sullivan - [Clicks: 125]
Sean C. Sullivan shows how to extend logging to email messages to the developers using the log4j and java.util.logging frameworks.
http://www.onjava.com/pub/a/onjava/2004/09/29/smtp-logging.html - Sep, 2004 - Plugging in a logging framework for Eclipse plug-ins by Manoel Marques - [Clicks: 126]
Eclipse lacks a configurable logging facility with rich features like the ones found in J2SDK Logging Utilities or Apache's Log4j. In this article, learn how to configure and use a logging framework for Eclipse plug-ins that is itself a plug-in and that is based on the Apache Log4j. Complete source code is provided for your use and extension.
[Includes source code]
http://www-106.ibm.com/developerworks/library/os-eclog/ - Sep, 2004 - Track Your Apps with the Open Source Logging Framework, Log4j by Kulvir Singh Bhogal - [Clicks: 294]
As many developers can attest, logging is one of the most accessible ways to monitor the health and performance of your Java applications. Find out how Log4j, a logging framework from Apache, can handle both simple and advanced (multi-app, multi-machine) logging scenarios.
[Includes source code]
http://www.devx.com/Java/Article/21708 - Aug, 2004 - Developer Tip: Adding the log4j API to Applications on Sun Java System Application Server 7 by Matthew Litkey, Jay Galvin, Marina Sum - [Clicks: 77]
This tip explains the configuration and packaging options for log4j for applications that run on Sun Java System Application Server 7 (formerly Sun ONE Application Server 7 and hereinafter called Application Server 7).
http://developers.sun.com/prodtech/appserver/reference/techart/log4j.html - May, 2004 - Tracing in a multithreaded, multiplatform environment by Daniel Would - [Clicks: 172]
Most Java programmers use some kind of tracing system to keep track of potential errors and problems in code that is under development. However, multithreaded and multiplatform systems can generate a large and baffling amount of tracing data. In this article, software engineer Daniel Would offers some tips that will help you make sense of trace data from complex applications. You'll learn how to use log4j, an open source logging package, to generate information-rich log files. You'll also see how you can use standard UNIX shell commands to mine that data for the information you need.
[Includes sample code]
http://www-106.ibm.com/developerworks/library/j-tracemt.html - Mar, 2004