Guide to the LiveAPI System - The get_debug_log() Method

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, where user is the cPanel account's username, and rand 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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....