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, where user is the cPanel account's username, and rand is a random string that cPanel & WHM generates.
This method does not return the debug log's contents.
LiveAPI PHP Class
// Get the debug log's location.
LiveAPI Perl Module
# Get the debug log's location.
This method does not accept parameters.
This method returns the absolute path and filename for the LiveAPI system's debug log file.
cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, L.L.C. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2020 All rights reserved.