# Logging

*Article Topics:* [*Customization*](/getting-started/common-topics/customization.md)

## Global Log Settings

Choose the error logs that are created, as well as their size.

* **Disable All Logging** - Set whether to disable **all** logging in NATS.
* **Disable NATS5 UI API Logging** - Set whether to disable logging for API requests originating from the NATS5 User Interface.
* **Disable NATS5 Admin View Logging** - Set whether to disable logging in Admin Actions for GET requests originating from the NATS5 user interface.
* **Error Logging IPs** - Comma-delimited list of IPs to have actions logged. Leave empty to log all IPs.
* **Default Error Logging File** - Set the default file used for logging.
* **Max Log Size** - Set the maximum size that a log file can become in bytes.
* **Rotate Log Size** - Set the size that a log file will be rotated out and archived daily.
* **Logging In Track** - Set whether to log calls when tracking.
* **Additional Logging Bits** - Set an additional amount of logging bits to be turned on.&#x20;
* **Disable Member Insert Log** - Set whether to have insert member logging disabled.
* **Logging On Shutdown** - Set whether to write to the log file only once at the end of the process instead of in real-time.

## Global Logging

Decide what actions you want to be logged.

* **Log All Redirects** - Set whether to log all redirects run by NATS.
* **Log All Exec Commands** - Set whether to log all exec() commands run by NATS.
* **Log All Failed SQL** - Set whether to log all failed SQL queries.
* **Log All File Requests** - Set whether to log all external file requests.
* **Log All Conn Failures** - Set whether to log all connection failures.

## PHP Error Logging

Settings pertaining to the settings on logging PHP errors.&#x20;

* **Logging PHP Errors** - Set whether to log ALL PHP errors to a file for debugging (all error levels). Only use this with Error Logging IPS for a specific IP.
* **Log PHP E Error** - Set whether to log all PHP Errors of error level E Error.
* **Log PHP E Warning** - Set whether to log all PHP Errors of error level E Warning.
* **Log PHP E Core Error** - Set whether to log all PHP Errors of error level E Core Error.
* **Log PHP E Core Warning** - Set whether to log all PHP Errors of error level E Core Warning.
* **Log PHP E Compile Error** - Set whether to log all PHP Errors of error level E Compile Error.
* **Log PHP E Compile Warning** - Set whether to log all PHP Errors of error level E Compile Warning.
* **Log PHP E User Error** - Set whether to log all PHP Errors of error level E User Error.
* **Log PHP E User Warning** - Set whether to log all PHP Errors of error level E User Warning.
* **Log PHP E Recoverable Error** - Set whether to log all PHP Errors of error level E Recoverable Error.
* **Log PHP E Deprecated** - Set whether to log all PHP Errors of error level E Deprecated.
* **Log PHP E User Deprecated** - Set whether to log all PHP Errors of error level E User Deprecated.
* **Log PHP E Notice** - Set whether to log all PHP Errors of error level E User Notice. Only use with Error Logging IPS for a specific IP.
* **Log PHP E User Notice** - Set whether to log all PHP Errors of error level E User Notice. Only use with Error Logging IPS for a specific IP.
* **Logging PHP Skip Smarty** - Skip logging warnings related to Smarty and its plugins (Smarty generates a number of warnings when running normally).

## Tracking Logging

Decide what tracking actions will be logged.

* **Log All Tracking** - Set whether to log all tracks.
* **Log Track Function Calls** - Set whether to log all tracking function calls.
* **Log Track Function Returns** - Set whether to log all tracking function returns.
* **Log Track Redirects** - Set whether to log all tracking redirects run by NATS.
* **Log Bad Natscode** - Set whether to log all instances of a bad natscode.

## Signup Logging

Decide what aspects of member signups will be logged.

* **Log All Signup** - Set whether to log all signup processes.
* **Log Signup Includes** - Set whether to log all signup includes.
* **Log Signup Function Calls** - Set whether to log all signup function calls.
* **Log Signup Errors** - Set whether to log all signup errors.
* **Log Signup Redirects** - Set whether to log all signup redirects.
* **Log Cascade To Biller** - Set whether to log all cascades to billers.

## E-mail Logging

Decide what aspects of e-mails will be logged.

* **Log Email Function Calls** - Set whether to log all email function calls.
* **Log Email Function Returns** - Set whether to log all email function returns.
* **Log Mailer Process** - Set whether to log all mailers.

## Cronjob Logging

Decide what cronjob actions, as well as what biller actions, will be logged.

* **Log All Cronjobs** - Set whether to log all cronjobs.
* **Log Cronjob Function Calls** - Set whether to log all cronjob function calls.
* **Log Cronjob Function Returns** - Set whether to log all cronjob function returns.
* **Log Cronjob Output** - Set whether to log all cronjob output.

## Biller Specific Logging

Logging information specific to each Biller you have integrated within your NATS install.

* **Log All Biller** - Set whether to log all of this particular biller's actions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toomuchmedia.com/nats-admin/configuration/configuration-overview/logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
