Show TOC

Procedure documentationConfiguring the Objects to Log Locate this document in the navigation structure

 

You configure the logging of changes to PCD objects using a set of properties in SAP NetWeaver Administrator:

The Pcd.Gl.AdminTraceability.Active property determines whether to log changes to the PCD. By default, logging is activated.

The Pcd.Gl.AdminTraceability.IncludedObjectClasses property enables you to limit the scope of the object classes to log. By default, all classes are logged.

In addition, you can specify the object paths to log according to severity level, using the following properties:

  • Pcd.Gl.AdminTraceability.IncludedPaths.Debug

  • Pcd.Gl.AdminTraceability.IncludedPaths.Path

  • Pcd.Gl.AdminTraceability.IncludedPaths.Info

  • Pcd.Gl.AdminTraceability.IncludedPaths.Warning

  • Pcd.Gl.AdminTraceability.IncludedPaths.Error

When specifying a list of object classes or object paths to log, you can use the following special characters:

  • ;: To separate between items

  • *: To signify zero or more characters

  • ?: To signify zero or one characters

Prerequisites

Before you configure PCD logging properties, you need to adjust the log debug levels (referred to as Severity), as follows:

  1. Access SAP NetWeaver Administrator.

  2. Choose   Configuration Management   Infrastructure   Log Configuration  .

  3. In the Show dropdown list, choose Logging Categories.

  4. Choose   ROOT CATEGORY   System   Changes   Changes  .

  5. Make sure that the Severity is Info.

  6. In the Show dropdown list, choose Tracing Locations.

  7. Choose   ROOT LOCATION   com   sap   portal   pcd   adminTraceability  .

  8. Make sure that the Severity is Info.

  9. Choose Save Configuration.

Note Note

The severity of the category   System   Changes   Changes   determines which objects are logged. For example, when the severity of the   System   Changes   Changes   category is Info, only objects that are included in the configuration for severities Info, Warning and Error are logged.

End of the note.

Procedure

Note Note

For information about accessing PCD properties in SAP NetWeaver Administrator, see Configuring PCD Properties.

End of the note.
  1. Specify the object classes to log, using the property: Pcd.Gl.AdminTraceability.IncludedObjectClasses

    A list of object class examples is provided in PCD Object Classes.

    Examples:

    • To log all classes that start with com.sap.pcd or com.sap.pcm, use com.sap.pcd.*;com.sap.pcm.*

    • To log all classes that start with com.sap.pcx, where x stands for any character, use com.sap.pc?.*

  2. Specify the object paths to log for each severity level, using the corresponding property: Pcd.Gl.AdminTraceability.IncludedPaths.<severity level>

    Note Note

    Configuring Admin Traceability to log numerous paths with high severities (above Info) may impact performance, as these paths will always be logged.

    End of the note.

    Recommendation Recommendation

    User data is located under the portal_content folder. Define the logging path starting from this folder, or below, to ensure more focused logging results.

    End of the recommendation.

    Examples:

    • To log all objects in paths that start with portal_content/test1 or portal_content/test2, use portal_content/test1/*;portal_content/test2/*

    • To log all objects in paths that start with portal_content/testx, where x stands for any character, use portal_content/test?/*.