← Back to team overview

yade-dev team mailing list archive

Re: Triaxial classes "cerr" output

 

Václav S a écrit :
> Bruno, I am sorry for regressions I introduced - I was away since
> thursday and couldn't react. The LOG_* stuff doesn't work for you?
> LOG_INFO and higer (WARN, ERROR and FATAL) are converted to
> cerr<<message<<endl if you don't have log4cxx, so you should be able to
> see those. Regards, Vaclav
>   
Ok. So there must be a small bug somewhere because I see nothing. 
scons.config contains this :

features = 'log4cxx,python'

Do you think I should disable log4cxx to get messages? It would sound 
bizzare...
And in case I use log4cxx feature, how to tune the output I get?

Bruno




>> Vaçlav, I suggest that when you modify some code I've written, you
>> don't remove lines you don't want but comment them instead.
>> Something is broken in the TimeStepper, or in the StressController, I
>> don't know exactly, and I just spent more than one hour trying to drop
>> cerr's in the correct places for debugging. It means that I spent time
>> typing code that I already typed months ago. Uncommenting would have
>> been a lot easier...
>>
>> Also note that I reversed one of your change in
>> GlobalStiffnessCounter.cpp l. 56  :
>>
>>  if(fn==0) return false;//This test really means "is it zero?", not
>> "is it smaller than epsilon?"
>>
>> I didn't reverse the tests in the other function for non-spherical
>> bodies, but it should probably be the same.
>>
>>
>> Bruno
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> yade-dev mailing list
>> yade-dev@xxxxxxxxxxxxxxxx
>> https://lists.berlios.de/mailman/listinfo/yade-dev
>>   
>>     
>
> _______________________________________________
> yade-dev mailing list
> yade-dev@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-dev
>
>   


-- 
 
_______________
Chareyre Bruno
Maitre de conference

Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________

_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References