Tweak Settings — Logging

Valid for version 110

Version:

110

112

116

118

120

124

Last modified: October 10, 2024


Looking for this interface?
Note:

Your hosting provider can enable or disable this interface for resellers in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).

The Logging section includes the following settings:

Setting Description Values Default
dnsadmin logging level This setting allows you to set the log level for dnsadmin requests in the /usr/local/cpanel/logs/dnsadmin_log file. A value of 0 indicates no logging.
  • Minimum value: 0
  • Maximum value: 9
0
Enable verbose logging of DNS zone syncing This setting causes your server to print DNS information to the command line interface whenever the system synchronizes a DNS zone.
Note:
This setting is for testing purposes only. Do not enable this option on a production server.
  • On — Print DNS information.
  • Off — Don’t print DNS information.
Off
Log successful logins This setting causes your server to record successful login events for cPanel, Webmail, WHM, and DAV to their respective log files in the /usr/local/cpanel/logs/ directory.
  • On — Record successful login events.
  • Off — Don’t record successful login events.
Off
Enable cPanel API Log This setting allows you to log successful or failed cPanel API 1, successful cPanel API 2, and successful UAPI 2 function calls. We store this log in the /usr/local/cpanel/logs/api_log file.
  • On — Record all cPanel API 1 calls, and all successful API 2 and successful UAPI calls.
  • Off — Don’t record any API calls.
Off