Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Forward Log Records to Its Parent

This section describes how to forward log records to its parent. You know that a logger sends both log records (messages declared before setting the log for it's parent and log messages after setting for it's parent) to handlers, parent or ancestor. See d

Tutorial Details:

This section describes how to forward log records to its parent. You know that a logger sends both log records (messages declared before setting the log for it's parent and log messages after setting for it's parent) to handlers, parent or ancestor. See detailed information about this by the following paragraph.

Description of program:

Program creates a logger. Logger is set for the parent handling by setUseParentHandler(boolean value) method which is derived ahead. By default the parent handlers property is true and this provides facility to forward log records to its parent. But it resumes function when the property is false. Log records like: warning, info and severe etc that represents messages like: "Do something here!", "Here is available" and "Do severe here!".


 

Rate Tutorial:
http://roseindia.net/java/example/java/util/ForwardLogRecords.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Forward Log Records to Its Parent

View Tutorial:
Forward Log Records to Its Parent

Related Tutorials:

Use a RandomAccessFile to building a low-level database - JavaWorld January 1999
Use a RandomAccessFile to building a low-level database - JavaWorld January 1999
 
Create a custom Java 1.2-style ClassLoader - JavaWorld March 2000
Create a custom Java 1.2-style ClassLoader - JavaWorld March 2000
 
Log4j delivers control over logging - JavaWorld November 2000
Log4j delivers control over logging - JavaWorld November 2000
 
Object mobility in the Jini environment - JavaWorld January 2001
Object mobility in the Jini environment - JavaWorld January 2001
 
Servlet 2.3: New features exposed - JavaWorld January 2001
Servlet 2.3: New features exposed - JavaWorld January 2001
 
Get disconnected with CachedRowSet , This allows for ResultSet s to be serialized, sent to remote clients, updated
The new J2EE RowSet implementation provides updateable disconnected ResultSets in your JSPs
 
Robust event logging with Syslog - JavaWorld April 2001
Robust event logging with Syslog - JavaWorld April 2001
 
Survival of the fittest Jini services, Part 1 - JavaWorld April 2001
Survival of the fittest Jini services, Part 1 - JavaWorld April 2001
 
Filter code with Servlet 2.3 model - JavaWorld June 2001
Filter code with Servlet 2.3 model - JavaWorld June 2001
 
Develop a generic caching service to improve performance - JavaWorld July 2001
Develop a generic caching service to improve performance - JavaWorld July 2001
 
Log it or loose it
Log it or loose it
 
Build database-powered mobile applications on the Java platform
Build database-powered mobile applications on the Java platform
 
Container-managed relations for the 21st century
Container-managed relations for the 21st century
 
J2SE 1.4 breathes new life into the CORBA community, Part 4
J2SE 1.4 breathes new life into the CORBA community, Part 4
 
Protect Web application control flow
Protect Web application control flow
 
good design pattern
good design pattern
 
Capture the benefits of asynchronous logging
Capture the benefits of asynchronous logging Develop an asynchronous log service using JMS and Hibernate This article will help you develop a simple log service. The service creates some log messages, sends them across the network to a JMS provider,
 
Inside Class Loaders: Debugging
Inside Class Loaders: Debugging This article will show how to solve class-loading problems and to overcome some debugging limitations of the JDK class loaders.
 
Use the Element Construction Set to create formatted logs.
The Jakarta Element Construction Set (ECS) is an open source project for creating markup language documents using the Java language and an object-oriented approach. Can be used to format logs into well-formatted HTML files
 
Using Taglib in JSP. A brief introduction to taglibs and taglibs programing.
Using Taglib in JSP. A brief introduction to taglibs and taglibs programing. JSP TAG LIBRARIES JSP Tag Libraries : JSP’s offer a unique feature of “Tag Libraries”. Simply put, these are custom defined JSP tags. They are basically meant for
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.