Priority order
When multiple sources are set, Safe Chain applies the following priority:- CLI argument
--safe-chain-logging(highest) - Environment variable
SAFE_CHAIN_LOGGING - Default:
normal
Logging levels
| Level | Description |
|---|---|
silent | Suppresses all Safe Chain output except when malware is blocked. The package manager output is written to stdout as normal, and Safe Chain only writes a short message if it has blocked malware and causes the process to exit. |
normal | Standard informational output. This is the default. |
verbose | Detailed diagnostic output from Safe Chain. Useful for troubleshooting issues or understanding what Safe Chain is doing behind the scenes. |
Configuration
- CLI argument
- Environment variable
Pass Valid values:
--safe-chain-logging=<level> to any wrapped package manager command. This takes highest priority and applies only to that invocation.silent, normal, verboseThe
normal level is used as the fallback whenever the configured value is missing or not one of the three valid options.