Any Dgraph node in a data domain creates two logs.
You can use these Dgraph logs to troubleshoot queries, or to track performance of particular queries or updates.
C:\Oracle\Middleware\user_projects\domains\endeca_server_domain\EndecaServer\logs
You can specify another location for the logs by changing the path in the endeca-logs-dir parameter in the EndecaServer.properties configuration file.
Because the Dgraph logs are text files, you can use a text editor to view them.
The Dgraph request log (also called the query log) contains one entry for each request processed. The requests are sorted by their timestamp.
dataDomainName.reqlogwhere dataDomainName is the name of the Endeca data domain that the Dgraph node is servicing.
Also, the /admin/dataDomainName?op=logroll command forces a query log roll, with the side effect of remapping the request log.
Note that a dash (-) is entered for any field for which information is not available or pertinent.
By default, the Dgraph truncates the contents of the body for POST requests at 64K. This default setting saves disk space in the log, especially during the process of adding large numbers of records to the data domain. If you need to review the log for the full contents of the POST request body, contact Oracle support.
dataDomainName.out
The Dgraph stdout/stderr log includes startup messages as well as warning and error messages. You can increase the verbosity of the log via the Dgraph -v flag. You can also set the logging variables to toggle logging verbosity for specified features, which are described in List of supported logging variables.
Note that the Dgraph stdout/stderr log reports startup and shutdown times (and other informational messages) using the system's local time zone, with no zone label displayed, but displays warning and error messages in UTC.
value%3D%22RefreshDate
X-Endeca-Portlet-Id: endecaresultslistportlet_WAR_endecaresultslistportlet_INSTANCE_5RKp_LAYOUT_11601
PORTLET=endecaresultslistportlet_WAR_endecaresultslistportlet_INSTANCE_5RKp_LAYOUT_11601then you can look at the times and response codes for the last ten requests from that portlet with a command such as:
grep $PORTLET Discovery.reqlog | tail -10 | cut -d ' ' -f 6,7,8
The command produces output similar to:
20.61 20.04 200 80.24 79.43 200 19.87 18.06 200 79.97 79.24 200 35.18 24.36 200 87.52 86.74 200 26.65 21.52 200 81.64 80.89 200 28.47 17.66 200 82.29 81.53 200
For information on enabling Studio logging, see the Oracle Endeca Information Discovery Studio Administration and Customization Guide.