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.
$BDD_DOMAIN/servers/AdminServer/logs
directory.$BDD_DOMAIN/servers/<serverName>/logs
directory .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.
$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.
$BDD_DOMAIN/servers/AdminServer/logs/AdminServer.log
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>.log
$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.
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>-diagnostic.log
$BDD_DOMAIN/servers/web001.us.example.com/logs/web001.us.example.com-diagnostic.log
$BDD_DOMAIN/servers/<serverName>/logs/bdd-studio.log
$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
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>.log and $BDD_DOMAIN/servers/<serverName>/logs/<serverName>-diagnostic.log
$BDD_DOMAIN/servers/<serverName>/logs/<serverName>.log and $BDD_DOMAIN/servers/<serverName>/logs/bdd-studio.log