Development Guides Home >> Guide to the LiveAPI System >> LiveAPI Methods
The get_debug_log() method retrieves the debug log file's absolute path and filename.
- By default, LiveAPI environments log debugging data to the
/home/user/.cpanel/LiveAPI.log.randfile, whereuseris the cPanel account's username, andrandis a random string that cPanel & WHM generates.
This method does not return the debug log's contents.
// Get the debug log's location.
$cpanel->get_debug_log();# Get the debug log's location.
$cpliveapi->get_debug_log();This method does not accept parameters.
This method returns the absolute path and filename for the LiveAPI system's debug log file.