-
-
Notifications
You must be signed in to change notification settings - Fork 31
Description
What is your question?
I am having trouble overriding the bot logger. Ideally, I would only want to output ERROR messages unless specified otherwise.
I think I chased it down to here:
| class Client: |
I tried sub-classing client. Subclass client and then override the __init__(): method to call set_verbositywith my desiredLOG_LEVEL? I also tried setting env variables to SINGULARITY_MESSAGELEVEL&MESSAGELEVEL` but didnt seem to get anywhere. I am not too sure how to proceed. Any ideas on how to approach this? I am all ears!
Also I don't quite understand how the Client.build(stream=True) allows it to error or else it will just proceed. How does returning the generator stream allow it to error? Is it not run in bg vs fg when streamed thus allows to error in same python process?
- I found the documentation at https://singularityhub.github.io/singularity-cli/
- The documentation does not answer my question
If the documentation doesn't answer your question, where do you think it would be appropriate to add (i.e., where did you go looking for it?)