← Back to team overview

yade-dev team mailing list archive

LOG_DEBUG spamming

 

Bruno Chareyre said:     (by the date of Fri, 25 Jan 2019 17:26:47 +0100)

> > InteractionLoop.cpp:73 action: Body #76 vanished, erasing intr #76+#97!
> > InteractionLoop.cpp:73 action: Body #21 vanished, erasing intr #21+#96!
> > InteractionLoop.cpp:73 action: Body #21 vanished, erasing intr #21+#2!
> >
> > Are really spamming the terminal. Yes they are nice. But we should do something
> > about default setting of LOG_DEBUG messages to not spam people who don't
> > understand what's going on. Actually that was a reason for which
> > I marked some examples as either suspicious or not working. And that
> > wasn't an error introduced by the author of the example.  
>
> Should definitely not appear. A remaining of the times when logging was 
> more fine-grained and LOG_DEBUG was silent by default.

This is also the case for FEMxDEM examples. It's scrolling very fast.
Some which I have located:

ForceContainerParallel.cpp:224
InsertionSortCollider.cpp:207
Omega.cpp:106
yadeWrapper.cpp:635
yadeWrapper.cpp:641

So what do we do:
- comment them out in the code
- or make LOG_DEBUG silent default?

-- 
Janek Kozicki


Follow ups