Enabling logging

The WebSphere® Adapter for Flat Files maintains a log file that you can view to determine the status of event processing. All events and errors that relate to the adapter are tracked by the log file, along with the date, time, and event for each log entry. Since the adapter logs an error message when it encounters an error or warning condition, the log file is a good source to start troubleshooting problems.

Why and when to perform this task

Logging for the Flat Files Adapter is enabled through the WebSphere Process Server administrative console. Follow the steps below to enable logging.

Steps for this task

  1. Start the WebSphere Process Server administrative console.
  2. From the administrative console, select Troubleshooting > Logs and Trace.
  3. Click the server link that corresponds to your server.
  4. Click "Change Log Detail levels".
  5. Click Component to specify a log detail level for individual components or click Groups to specify a log detail for a predefined group of components.
  6. Select the logging level that you need. The “Logging levels” table describes the different logging levels that can be set through the WebSphere Process Server administrative console.
    Note: To view log events that are below the Detail Level, you must enable the Diagnostic Trace Service. Log events that are at Detail Level or above can be viewed in the SystemOut log, the IBM® Service log (when enabled), or the Diagnostic Trace Service (when enabled).

    Logging levels

    Level Indicator Description
    Audit A Significant event affecting server state or resources
    Config C Configuration change or status.
    Detail D General information detailing subtask progress.
    Fatal F Task cannot continue. Component cannot function.
    Info I General information outlining overall task progress
    Severe E Task cannot continue. Component can still function. This also includes conditions that indicate an impending fatal error - i.e. reporting on situations that strongly suggest that resources are on the verge of being depleted.
    Warning W Potential error or impending error. This also includes conditions that indicate a progressive failure - for example, the potential leaking of resources.
  7. Click Apply to save your changes.
Related tasks
Contacting IBM Software Support
Enabling tracing
Enabling the Common Event Infrastructure (CEI)
Generating service artifacts for inbound operations
Configuring a service for outbound operations
Deploying and configuring inbound operations for scenario 2
Deploying and configuring outbound operations for scenario 2

Terms of use |

Last updated: Sun Mar 12 11:47:11 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)