Portlet Factory, Version 6.1.2


 

Logging rules

The WEB-INF/config/logging.properties file lets you create many rules that define when events are logged.

By default, IBM® WebSphere Portlet Factory contains one rule named abnormal. The user can define and freely name as many different rules as necessary. These two entries create the abnormal rule and enable it.

File: WEB-INF/config/logging.properties Entry: logging.event.criteria Default value: abnormal

File: WEB-INF/config/logging.properties Entry: logging.event.criterion.abnormal.enabled Default value: true

The following entries show how to create and enable two rules named rule1 and rule2.

logging.event.criteria = rule1, rule2 logging.event.criterion.rule1.enabled = true logging.event.criterion.rule2.enabled = true

Parent topic: About event log properties


Library | Support |