Setting Up Logging/Tracing Filters

Use this procedure to configure filtering for those components of the system that allow filtering. (Currently, only the SecurityLoggerConfiguration.xml supports filtering.)

To set up logging/tracing filters

  1. Open the $LACFGDIR/SecurityLoggerConfiguration.xml file in a text editor.
  2. Set up filters based on users or packages. To do this, create a <log_producter_filters> section at the end of the <configuration> section similar to the one below:
    <log_producer_filters>
       <producer_filter name="SimpleMessageProducerFilter" classname="com.lawson.common.util.logging.
                   SimpleMessageProducerFilter" enabled="true">
          <parameters>
            <Parameter value="user=23456|admin"/>
            <Parameter value="package=com\.lawson\.security\.common\.(.)|com\.lawson\.security\.authen\.(.)"/>
          </parameters>
       </producer_filter>
    </log_producer_filters>