Enable Logging
You can add logging to determine what the BAML runtime is doing.
To enable logging, set the BAML_LOG
environment variable:
Example log:
![](https://fdr-prod-docs-files-public.s3.amazonaws.com/https://boundary.docs.buildwithfern.com/2024-09-05T23:19:36.939Z/assets/log_message.png)
Since >0.54.0
:
To truncate each log entry to a certain length, set the BOUNDARY_MAX_LOG_CHUNK_CHARS
environment variable:
This will truncate each part in a log entry to 3000 characters.