Configuring Logging for Java Components
Logging configuration for the following services applies to Automated Order Plan Development, authorization-service, catalog-services, data-service, orchestrator, configurator, process component, and tmf-om-adapter.
Logging is done using the log back framework. Each component has a separate file for log back configurations as explained as follows.
Orchestrator: $OM_HOME/roles/orchestrator/standalone/config/logback_orch.xml is used to configure logging.
Authorization-service: $OM_HOME/roles/authorization-service/standalone/config/logback_auth.xml is used to configure logging.
catalog-services: $OM_HOME/roles/catalog-services/standalone/config/logback_catalog.xml is used to configure logging.
Data-service: $OM_HOME/roles/dataservice/standalone/config/logback_dataservice.xml is used to configure logging.
Tmf-om-adapter: $OM_HOME/roles/tmf-om-adapter/standalone/config/logback_tmf.xml is used to configure logging.
Configurator: $OM_HOME/roles/configurator/standalone/config/logback.xml is used to configure logging.
Om-migration service: $OM_HOME/roles/om-migration/standalone/config/logback_migration.xml is used to configure logging.
Broker service: $OM_HOME/roles/broker-service/standalone/config/logback_broker.xml is used to configure logging.
Archival service: $OM_HOME/roles/configurator/standalone/config/logback_arch.xml is used to configure logging.
Jeopardy service:$OM_HOME/roles/configurator/standalone/config/logback_jeopardy.xml is used to configure logging.
- The default logLevel is:
- INFO for
com.tib.fom
package and its sub package - ERROR for all other packages
- INFO for
- The local log file used by the orchestrator is orchestrator.log. Published logs go into the logs folder for each service, the same as for the other components.
- The default maximum file size is 5 mb. After 5 mb, a new file is created.
- The default logging is
orchestrator.log
file. The next day those logs are moved toorchestrator-<date>.log
file and current logging starts inorchestrator.log
file.
Automated Order Plan Development: $OM_HOME/roles/aopd/standalone/config/Logback_aopd.xml is used to configure logging.
- The default logLevel is:
- INFO for com.tibco.aff, com.tibco.fom, and com.tibco.aff.models packages and its sub packages
- ERROR for all other packages
- Local log file used by Automated Order Plan Development.
catalogHibernateShowSql
property to control whether hibernate logs SQL statements. You can enable or disable SQL logging without changing the codes.