Description
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.rand
file, whereuser
is the cPanel account's username, andrand
is a random string that cPanel & WHM generates.
Important:
This method does not return the debug log's contents.
Example
LiveAPI PHP Class
1
2
|
// Get the debug log 's location. $cpanel ->get_debug_log(); |
LiveAPI Perl Module
1
2
|
# Get the debug log's location. $cpliveapi ->get_debug_log(); |
Parameters
This method does not accept parameters.
Returns
This method returns the absolute path and filename for the LiveAPI system's debug log file.