Problem
All FWL modules need to setup their loggers with names that have the prefix fwl- in order for them to be captured together into a single logger stream. Without this, when calling one module from another, logs will be lost.
This is currently active on PROTEUS and fwl-io main branches. When running PROTEUS simulations, the terminal stdout shows things like:
Downloading data from 'doi:10.5281/zenodo.15727899/halfh2o2h500K1mbar.txt' to file '/home/harrison/Projects/FWL_DATA/.fwl-io-staging/tmppjj9gxsl/halfh2o2h500K1mbar.txt'.
But these do not appear in the PROTEUS log file and do not have the same log-formatting, because the fwl-io module isn't configuring its logger properly.
Solution
The fwl-io module should configure its logger as: log = logging.getLogger("fwl."+__name__) rather than log = logging.getLogger(__name__).
People
@egpbos @timlichtenberg
Problem
All FWL modules need to setup their loggers with names that have the prefix
fwl-in order for them to be captured together into a single logger stream. Without this, when calling one module from another, logs will be lost.This is currently active on PROTEUS and fwl-io main branches. When running PROTEUS simulations, the terminal stdout shows things like:
But these do not appear in the PROTEUS log file and do not have the same log-formatting, because the
fwl-iomodule isn't configuring its logger properly.Solution
The
fwl-iomodule should configure its logger as:log = logging.getLogger("fwl."+__name__)rather thanlog = logging.getLogger(__name__).People
@egpbos @timlichtenberg