Using Logging Categories
SAP J2EE logging is structured around categories. You must define your own categories for your adapter.
· Define your categories as follows:
<j2eeroot>/AdapterFramework/ThirdPartyRoot/<3rd party namespace>/<functional sections>
· The Adapter Framework trace and log interface contains the class PublicCategories. This class provides the method ThirdPartyRootCategory(). The method transfers the root name for third-party categories.
Using the PublicCategories, your adapter must use separate categories, as shown in the example.

Open XIAdapterCategories.java and search for the character string CS_TRCAT.
· Your adapter categories must add a separate, unique namespace after the category root. You must define subcategories for particular groups such as configuration, message exchange, and JCA connections.
· You must only use letters and figures for category names. Special characters such as @ are not permitted.
· When one of the trace methods is then called, one of the categories you defined is used, as follows:

Open SPIManagedConnectionFactory.java and search for the character string CS_TROUT.