← Back to team overview

yade-dev team mailing list archive

Re: LOG_DEBUG spamming

 

Bruno Chareyre said:     (by the date of Mon, 28 Jan 2019 18:07:35 +0100)

> On 1/28/19 5:29 PM, Janek Kozicki wrote:
> > Bruno Chareyre said:     (by the date of Fri, 25 Jan 2019 17:26:47 +0100)
> >  
> >>
> >> Should definitely not appear. A remaining of the times when logging was
> >> more fine-grained and LOG_DEBUG was silent by default.  
> > So what do we do:
> > - comment them out in the code
> > - or make LOG_DEBUG silent default?
> >  
> 
> Wait, are you saying that even LOG_DEBUG are displayed with non-debug 
> build (then it is a problem)?
> What I meant was that LOG_WARN was always displayed. However LOG_DEBUG 
> should appear only for debug build (then it is ok).

ouch, my bad. I was always compiling with -DDEBUG=1, and I forgot
about that. I will recompile with -DDEBUG=0 and check again! :)


-- 
Janek Kozicki


Follow ups

References