Acapy supports multiple configurations of logging.
Acapy's logging is based on python's logging lib.
Log levels DEBUG, INFO and WARNING are available.
Other log levels fall back to WARNING.
--log-level- The log level to log on std out.--log-file- Path to a file to log to.
Example:
./bin/aca-py start --log-level debug --log-file acapy.logThe log level can be configured using the environment variable ACAPY_LOG_LEVEL.
The log file can be set by ACAPY_LOG_FILE.
The log config can be set by ACAPY_LOG_CONFIG.
Example:
ACAPY_LOG_LEVEL=info ACAPY_LOG_FILE=./acapy.log ACAPY_LOG_CONFIG=./acapy_log.ini ./bin/aca-py startFollowing parameters can be used in a configuration file like this.
log-level: WARNING
debug-connections: false
debug-presentations: falseWarning: debug-connections and debug-presentations must not be used in a production environment as they log also credential claims values. Both parameters are independent of the log level, which means: Also if log-level is set to WARNING, connections and presentations will be logged like in debug log level.
Find an example in default_logging_config.ini.
You can find more detail description in the logging documentation.