You can use the Oracle ATG Web Commerce logging facility as a method for producing logging events that can be used by any component. Use the message logging facility for error, warning, debug, or informational messages that need to be communicated to a developer or administrator.

Logging is performed through JavaBeans events. LogEvent objects contain logging messages, and are broadcast by components that log those messages. Events are received by LogListener objects that handle the logging events in various ways. A LogListener object might perform these tasks:

The separation between log source and log listener allows for a flexible logging configuration that can be tailored to individual applications.

The following topics describe how message logging works in an Oracle ATG Web Commerce application:

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices