Command

nylas audit config set

Set an audit configuration value. Valid keys: retention_days, max_size_mb, rotate_daily, compress_old, log_request_id, log_api_details.

Usage

nylas audit config set <key> <value>

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

Change retention period

nylas audit config set retention_days 30

Move log storage

nylas audit config set path /var/log/nylas-audit

Increase max log size

nylas audit config set max_size_mb 200

Enable daily rotation

nylas audit config set rotate_daily true

Log API request details

nylas audit config set log_api_details true

Troubleshooting

Invalid configuration key

Valid keys: retention_days, max_size_mb, rotate_daily, compress_old, log_request_id, log_api_details, path.

Changes not taking effect

Configuration changes apply to new log entries. Existing entries are not affected.

Recommended guides

Run nylas audit config set --help for full help output.