Setting the Log Display Mode
The environment variable MINDIE_LOG_TO_FILE is used to specify whether to write logs of each MindIE component to files. The default value is true.
The environment variable MINDIE_LOG_TO_STDOUT is used to specify whether to print logs of each MindIE component. The default value is false.
The format for specifying whether to write or print logs of a component: Component name: {0, 1, true, false}
- 0 or false indicates no, and 1 or true indicates yes.
- If there is no component name before the colon (:), all components will be set in a unified manner by default.
- If multiple components are set at the same time, use semicolons (;) to separate them. The latest setting takes precedence and overwrites any previous configurations.
[Example 1] Do not write logs of MindIE LLM to files:
export MINDIE_LOG_TO_FILE="llm: false"
[Example 2] Print logs of all MindIE components:
export MINDIE_LOG_TO_STDOUT="true"
Parent topic: Other Operations