Logging, Debugging, and Performance
Netherframe gives teams several high-level controls for observability and runtime behavior.
Logging
The CLI logs nothing unless asked. Its logging options may be written before or after the
command (nf --log-level DEBUG plan or nf plan --log-level DEBUG):
--log-level TRACE|DEBUG|INFO|WARNING|ERROR--log-format text|json|pretty--trace(TRACE level)
Code that embeds Netherframe emits nothing on its own (attaching only a NullHandler on the "netherframe" stdlib logger) unless the host configures stdlib logging / structlog or calls nf.core.logging.configure_logging(level=..., log_format=...). Use disable_logging() to silence Netherframe's logger globally. Nothing is read from NF_* or logging environment variables. See Settings.
To collect logs from forked workers in one sink or rotating file, call
configure_logging(multiprocess_safe=True) in the parent before forking.
Use picklable structured fields and join the workers before resetting the parent's logging.
Workers started with spawn or forkserver configure their own logging.
Use these when you need:
- quieter CI runs
- JSON logs for machine processing
- deeper debugging of synthesis or execution behavior
Live progress
Progress is on by default. Its setting is enable_progress_reporting: the flag
nf --progress-reporting/--no-progress-reporting, else [tool.nf.config], else
App(enable_progress_reporting=...). Progress is logged at INFO, normally every two seconds, so --log-level WARNING hides it.
Disable it with nf --no-progress-reporting when your pipeline only needs the final result.
Progress: 40.0% (2/5 completed, 2 running, 0 failed) - 0:01:12 elapsed
Elapsed time covers the current execution, not an estimate of time remaining. The percentage counts completed and failed plan nodes; nodes can include reads and runtime checks as well as resource mutations. A long-running provider operation can keep these counts unchanged while elapsed time increases. Use provider logs to investigate the operation; an unchanged percentage alone does not establish a hang.
The final execution summary includes completed, failed and skipped counts, total duration, throughput, maximum concurrency and strategy. Deferred work may require another round; inspect the run's completeness status as well as its success status.
Debugging
When debugging an app:
- confirm the right app selector is configured in
[tool.nf] - confirm the expected output directory is being used
- increase logging detail
- reduce scope to one app or one stack
Performance
The highest-leverage performance settings are usually:
max_concurrent_resources- choosing the right workflow for the job
For deeper performance work, use the advanced performance docs rather than guessing from symptoms.