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
When I load easyaccess as a python module (to use non-interactively), it messes up my logging configuration, so that I get every logging message twice, once in the format I want, and once in the one preferred by easyaccess. The easy way around it is for easyacces to use its own instance of logging.Logger, not the default one.
Yes, I can "solve" this by having my script use its own instance of logging.Logger rather than the default one, but it shouldn't have to: distributed modules should leave the default logger alone, and define and use their own instances of logging.Logger.
The text was updated successfully, but these errors were encountered:
However, I don't think we were ever using logging (a la #21) and I think this has been removed in more recent versions (v1.4.2). @ehneilsen can you confirm whether or not this is an issue with new versions of easyaccess?
I just tested with the newer version (1.4.2, by way of anaconda environment des17a on the DES cluster at Fermilab) and indeed it seems not to be a problem there.
When I load easyaccess as a python module (to use non-interactively), it messes up my logging configuration, so that I get every logging message twice, once in the format I want, and once in the one preferred by easyaccess. The easy way around it is for easyacces to use its own instance of logging.Logger, not the default one.
Yes, I can "solve" this by having my script use its own instance of logging.Logger rather than the default one, but it shouldn't have to: distributed modules should leave the default logger alone, and define and use their own instances of logging.Logger.
The text was updated successfully, but these errors were encountered: