Command

nylas audit logs status

Check whether audit logging is enabled and show the current log file location.

Written by Qasim Muhammad Staff SRE

What does nylas audit logs status do?

The nylas audit logs status command reports whether audit logging is active, the path to the current log file, its size on disk, and the number of entries recorded. Use it to confirm logging is working or to find the log file for review.

Usage

nylas audit logs status

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 status command reports whether audit logging is active, the path to the current log file, its size on disk, and the number of entries recorded.

Check audit logging status

nylas audit logs status

Get status as JSON for monitoring scripts

nylas audit logs status --json

Example output

Audit Logging Status

  Enabled:        true
  Log directory:  ~/.config/nylas/audit
  Retention:      90 days
  Stored entries: 142  (1.2 MB)

Troubleshooting

Status shows enabled but log file is empty

The log file is created on first write. Run any CLI command (e.g., `nylas auth whoami`) and check the file again.

Log file path shows as empty

Run `nylas audit logs enable` to initialize logging. The status command only reports; it does not activate logging.

Recommended guides

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