You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more of a question than an issue, but I thought it was worth raising here in case someone else has a similar question.
Regarding the logger, when using ENDFtk via the python bindings is there any way to configure the logger without having to recompile?
Can I change the log level or the sink, via an API for example?
I can't see anything in the tools library that exposes this but I am not sure where I should be looking for such functionality.
The text was updated successfully, but these errors were encountered:
I have a rough PR to make this work, basically adding a new log submodule and adding a basic set/get_level, but because it also requires additional changes to the tools lib in the Log.hpp I was not sure how best to tackle this.
Do I first open a PR on the tools repo to expose more public methods and then here?
Or, more importantly, do you even want the log being exposed at all?
To be honest, I do not know. This logger is going to give us headaches at some point. I have seen exceptions being raised when using ENDFtk and ACEtk in python and both wanting to log things. At some point we will have to overhaul this thing, but as usual it is not high priority. We continue to use it because that's what's there.
The fact that messages get printed to stdout (I think) is annoying, as I would prefer an actual log file I can go through - or even switch it off entirely.
Hello,
This is more of a question than an issue, but I thought it was worth raising here in case someone else has a similar question.
Regarding the logger, when using ENDFtk via the python bindings is there any way to configure the logger without having to recompile?
Can I change the log level or the sink, via an API for example?
I can't see anything in the
tools
library that exposes this but I am not sure where I should be looking for such functionality.The text was updated successfully, but these errors were encountered: