280 IBM Cognos Dynamic Cubes
10.8.1 Configuring Cognos Dynamic Cubes logging
This section describes how to configure logging for dynamic cubes to capture information that
can help with diagnosing the issue.
Logging is configured by using the configuration/xqe.diagnosticlogging.xml file. It is
enabled by specifying a level of either Info or Trace for an event group, such as in the
following example:
<eventGroup name="ROLAPCubes.Management" level="trace"/>
Separate event groups exist for separate parts of the code.
The logging information is written to files by using the following format:
logs/XQE/xqelog-*.xml.
The following sections describe several common problem areas.
Dynamic Query Server configuration (JVM parameters) or Dynamic
Query Server not starting
If a dynamic cube fails to start, you can enable the "InitTerm" event group, which causes the
DQM server to write additional information regarding the initialization of a dynamic cube to
the log file.
? Event group or groups to change:
<eventGroup name="InitTerm" level="trace"/>
? Sample logging information returned:
<event ...><![CDATA[Using JVM heap sizes: -Xms1024m, -Xmx1024m, -Xmnx512m,
-Xmns512m]]></event>
Dynamic Query Server configuration (non-JVM parameters) or Dynamic
Cube configuration
When you are diagnosing a problem, a helpful step is to confirm the configuration parameters
that are applied to a cube. Among other information, enabling the "ROLAPCubes.Management"
event group will write the configuration parameters of the cube to the log file.
? Event group or groups to change:
<eventGroup name="ROLAPCubes.Management" level="trace"/>
? Sample logging information returned:
<event ...><![CDATA[Configured ROLAP advanced settings values: qsMax
CubeLoadThreads=16,...]]></event>
<event ...><![CDATA[[Updating a ROLAP configuration parameter:
rolap.qsMultiDimensionalQuerySizeLimit=0]]]></event>
<event ...><![CDATA[[Before: ROLAP configuration:
[ROLAPConfiguration:...,qsMultiDimensionalQuerySizeLimit=0,...]]]]></event>
<event ...><![CDATA[[After: ROLAP configuration:
[ROLAPConfiguration:...,qsMultiDimensionalQuerySizeLimit=0,...]]]]></event>