Dgraph Gateway logs

Dgraph Gateway uses the Apache Log4j logging utility for logging and its messages are written to WebLogic Server logs.

The BDD installation creates a WebLogic domain, whose name is set by the WEBLOGIC_DOMAIN_NAME parameter of the bdd.conf file. The WebLogic domain has both an Admin Server and a Managed Server. The Admin Server is named AdminServer while the Managed Server has the same name as the host machine. Both the Dgraph Gateway and Studio are deployed into the Managed Server.

There are two sets of logs for the two different servers:
  • The Admin Server logs are in the $BDD_DOMAIN/servers/AdminServer/logs directory.
  • The Managed Server logs are in the $BDD_DOMAIN/servers/<serverName>/logs directory .
There are three types of logs:
  • WebLogic Domain Log
  • WebLogic Server Log
  • Application logs

Because all logs are text files, you can view their contents with a text editor. You can also view entries from the WebLogic Administration Console.

By default, these log files are located in the $DOMAIN_HOME/servers/AdminServer/logs directory (for the Admin Server) or one of the $DOMAIN_HOME/servers/<serverName>/logs directories (for a Managed Server).

Because all logs are text files, you can view their contents with a text editor. You can also view entries from the WebLogic Administration Console.

WebLogic Domain Log

The WebLogic domain log is generated only for the Admin Server. This domain log is intended to provide a central location from which to view the overall status of the domain.

The name of the domain log is:
$BDD_DOMAIN/servers/AdminServer/logs/<bdd_domain>.log

The domain log is located in the $DOMAIN_HOME/servers/AdminServer/logs directory.

For more information on the WebLogic domain and server logs, see the "Server Log Files and Domain Log Files" topic in this page: http://docs.oracle.com/cd/E24329_01/web.1211/e24428/logging_services.htm#WLLOG124

WebLogic Server Log

A WebLogic server log is generated for the Admin Server and for each Managed Server instance.

The default path of the Admin Server server log is:
$BDD_DOMAIN/servers/AdminServer/logs/AdminServer.log
The default path of the server log for a Managed Server is:
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>.log
For example, if "web001.us.example.com" is the name of the Managed Server, then its server log is:
$BDD_DOMAIN/servers/web001.us.example.com/logs/web001.us.example.com.log

Application logs

Application logs are generated by the deployed applications. In this case, Dgraph Gateway and Studio are the applications.

For Dgraph Gateway, its application log is at:
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>-diagnostic.log
For example, if "web001.us.example.com" is the name of the Managed Server, then the Dgraph Gateway application log is:
$BDD_DOMAIN/servers/web001.us.example.com/logs/web001.us.example.com-diagnostic.log
For Studio, its application log is at:
$BDD_DOMAIN/servers/<serverName>/logs/bdd-studio.log
For example, if "web001.us.example.com" is the name of the Managed Server, then its application log is:
$BDD_DOMAIN/servers/web001.us.example.com/logs/bdd-studio.log

The directory also stores other Studio metric log files, which are described in About the metrics log file.

Logs to check when problems occur

For Dgraph Gateway problems, you should check the WebLogic server log for the Managed Server and the Dgraph Gateway application log:
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>.log
and
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>-diagnostic.log
For Studio issues, check the WebLogic server log for the Managed Server and the Dgraph Gateway application log:
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>.log
and
$BDD_DOMAIN/servers/<serverName>/logs/bdd-studio.log