yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00245
Re: Triaxial classes "cerr" output
>> 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?
>
Keep log4cxx enabled, that is OK. Have a look at the file
doc/logging.conf.sample in trunk and copy it over to
~/.yade-$VERSION/logging.conf (the same directory where is your
preferences.xml and other files). I tried to put comments into that file
so that it is clear what is going on. If you say
log4j.logger.yade.TriaxialCompressionEngine=DEBUG
you will see all messages from TriaxialCompressionEngine, for example.
Vaclav
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev
Follow ups
References