Stop blender from logging into the console

When working with blender we get a lot of messages in the console, that we would like to avoid.
mostly endless logs from rendering lightmaps such as:
root Fra:1 Mem:128.65M (0.00M, Peak 128.65M) | Compositing | Tile 15-16
root Fra:1 Mem:128.65M (0.00M, Peak 128.65M) | Compositing | Deinitializing execution
root Saved: C:\Temp\bake_sgzbnx1i\concrete-19_diffuse_1.png
root Fra:1 Mem:56.63M (0.00M, Peak 140.63M) Sce: Ve:0 Fa:0 La:0
root Saved: C: mp.png
root Time: 00:00.29 (Saving: 00:00.05)
root
root Fra:1 Mem:64.65M (0.00M, Peak 64.65M) | Compositing
root Fra:1 Mem:64.66M (0.00M, Peak 64.66M) | Compositing | Determining resolution
root Fra:1 Mem:64.66M (0.00M, Peak 64.66M) | Compositing | Initializing execution
root Fra:1 Mem:136.67M (0.00M, Peak 136.67M) | Compositing | Tile 1-16

Is there a way to only have our setup logs (logging module) in the console?
thanks for your help!

1 Like