Configuring component logging

Component logging enables logging of specific components of the model for troubleshooting purposes. For example, you can enable logging for a class in the business model layer, such as the user class.

You define which component to log using the following syntax:

nexj.model.componenttype.identifier=logging_level

Where componenttype indicates the component type, identifier refers to the associated component name, and logging_level indicates the logging level for the component.

Note: You must use a colon (:) to separate multiple log level specifications.

For example, to enable logging for the user class, add the following to the log level details specification in Integrated Solutions Console:

nexj.model.class.User=detail

Use a period and an asterisk (.*) to enable logging for all the subcategories for a component. In the following example, logging is enabled for all NexJ forms.

nexj.model.form.*=detail

Available component types

The following table lists the component types that are available for logging.

Note: For the SOA implementation component, replace delimiter colons (:) with category delimiter periods (.). If the component includes a version number, exclude the version number. For example, if the service name for the SOA implementation Audit is nexj:soa:Audit:1.0, use the identifier nexj.soa.Audit.
Component Component type Identifier Example
Application application application name nexj.model.application.Admin
Business model class class class name nexj.model.class.User
Dynamic object object object name nexj.model.object.etl:User
ETL activity etl ETL activity name nexj.model.etl.BI_1_BIAct
Form form form name nexj.model.form.EnumList
Library library library name nexj.model.library.audit
Screen screen screen name nexj.model.screen.SysFormHolder
Service service service name nexj.model.service.UserActivation
SOA implementation soa name of the service specified in the SOA implementation nexj.model.soa.nexj.soa.Audit
System library syslibrary system library name nexj.model.syslibrary.soa
Transformation transformation transformation name nexj.model.stransformation.ObjectToRSS
Unit test utest unit test name nexj.model.utest.UserLockout
Workflow workflow workflow name nexj.model.workflow.PendingUserException