Logging¶
Importing fes-ml does not configure logging, so it does not change your application's log output.
To print fes-ml's progress messages in a script, call config_logger() once:
from fes_ml import config_logger
config_logger()
| Environment variable | Effect |
|---|---|
FES_ML_LOG_LEVEL |
log level, default INFO (e.g. DEBUG) |
FES_ML_FILTER_LOGGERS=1 |
show only fes-ml's messages, hide those of other packages |
FES_ML_LOG_DEVEL=1 |
log the energy decomposition of every state before and after the modifications |
The energy decomposition is off by default because it is expensive, especially with ML potentials: each force group needs its own evaluation.