Command

nylas audit logs disable

Disable audit logging. Stops recording CLI activity to the audit log file.

Written by Qasim Muhammad Staff SRE

What does nylas audit logs disable do?

The nylas audit logs disable command turns off audit logging so the CLI no longer writes activity records to the log file. Existing log data is preserved — only new entries stop being written. Re-enable at any time with `nylas audit logs enable`.

Usage

nylas audit logs disable

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas audit logs disable command turns off audit logging so the CLI no longer writes activity records to the log file.

Disable audit logging

nylas audit logs disable

Disable and verify status

nylas audit logs disable
nylas audit logs status

Example output

✓ Audit logging disabled
  Existing logs are preserved.

Troubleshooting

Logs still being written after disable

Restart any long-running CLI processes (e.g., TUI or AIR). The disable takes effect on new CLI invocations.

Command not found

Update to the latest CLI version. Audit commands were added in v0.10.0. Run `brew upgrade nylas-cli` or re-run the install script.

Recommended guides

Run nylas audit logs disable --help for full help output.