I have a script working with multiple modules that include loggers (lets assume modules A and B).
When executing, functions of A will automatically create a logger, but to keep things tidy I would like messages from module B only to be displayed in my stdout. 
Is there a convenient way to disable all print statements for every function / class coming from module A, without explicitly referring to the function that prints? Im thinking about something like a line of code at the start of the script handling that.
Many thanks!
There are two approaches:

You can monkey patch the print function/logger object in module A's namespace and replace it with your own. This is quick and dirty, but would not require any modifications in module A. I'd highly recommend against doing this if possible, you'll just get into trouble. 
If you can modify module A, the proper way to do this is to ensure that module A use the python logger for all its output, and that it sets a logger name. In your logging configuration, you can then specify a LoggerFilter or LoggerAdapter to selectively suppress log entries based on logger name prefix or other attributes of the LogEntry.
Globally silence the stdout for one whole module