I followed the guide to setup the logger at the DEBUG
log level like this:
config = Config(
logging=Config.Logging(
level=logging.DEBUG,
log_dir=Path("logs")
)
)
pylabrobot.configure(config)
While I see outputs between the jupyter cells throughout my method, and the logs
dir is created with the file pylabrobot-20250605.log
in it, the file stays empty. I’m using the LiquidHandlerChatterboxBackend
if that matters.
ah, that’s because in this case nothing gets logged! currently only select backends log actually. codex added some logging in this PR: Add debug logging to LiquidHandler methods by rickwierenga · Pull Request #561 · PyLabRobot/pylabrobot · GitHub. If that works for you I will merge it.
(in our case, we mostly log on the protocol level, but for debugging perhaps this level of logging is nice. for reference, also check out io level logging: aP Validation Against Log File Example — PyLabRobot documentation)
It’s working pretty well, I see some logging.
Haven’t done extensive testing of course, but it looks like it’s good 
1 Like
sweet! i’ll merge this
we can review and adjust as we use it more in the future
1 Like