Skip to content

add jules logging bridge to python#37

Merged
cjuli1 merged 1 commit intoNVE:feature/loggingfrom
Fabianthorsen:feat/add-logging-to-python
Mar 13, 2026
Merged

add jules logging bridge to python#37
cjuli1 merged 1 commit intoNVE:feature/loggingfrom
Fabianthorsen:feat/add-logging-to-python

Conversation

@Fabianthorsen
Copy link

Add functionality to use python root logger with JulES. By default JulES still logs with the standard Julia logger, but by calling _jl.JulES.use_python_logging_b() in python the global logger in JulES is set to the Python root logger. This in turn allows for packages that are used in JulES, that also use logging, to be propagated into the python process and handles by the handlers configured in python.

@cjuli1 cjuli1 merged commit 72350b9 into NVE:feature/logging Mar 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants