Log Description

The RAG SDK installation package is in .run format. ~/log/mxRag/deployment.log records RAG SDK installation and uninstallation logs.

Loguru used by the RAG SDK run log module outputs logs on the console by default. You can configure the redirection file if needed.

To prevent injection of security issues into logs (for example, escape of the special characters '\n' and '\b'), configure the environment variable 'LOGURU_FORMAT' as follows. That is, use {message!r} in messages to ensure that special characters are securely processed. Set other parameters based on your preferences.

export LOGURU_FORMAT='<green>{time:YYYY-MM-DD HH:mm:ss.SSS}</green> | <level>{level: <8}</level> | <cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message!r}</level>'