Configuring Logging
By default, AI JSON logs only warnings and errors.
In INFO
logs, AI JSON includes:
- how long actions run for,
- how long actions block the event loop for,
- prompts and their responses.
If you would like to change what level of logs are shown, either:
Run your script with the --log-level
flag, e.g.:
Run it with the LOG_LEVEL
env var, e.g.:
Or, call from within your code: