← Back to team overview

yade-dev team mailing list archive

Re: Logging and debugging

 

Hi Klaus,

2013/8/22 Klaus Thoeni <klaus.thoeni@xxxxxxxxx>

> Hi guys
>
> log4cxx feature and yade.log module are not available any more, right? So
> how
> do you print your logs? I am used to use something like this in my scripts:
>
> import yade.log
> yade.log.setLevel('TheClassOfWhichLoggerYouWantToSet',yade.log.TRACE)
>

setLevel does not work any more.


> One can cmake with -DDEBUG=ON which should compile yade in debug mode.
> Before
> cmake "yade --debug" was used to run yade in debug mode. It seems that this
> option is not valid any more. So how do you guys run debug and optimized at
> the same time? Do you define an other INSTALL_PREFIX for debug?
>

Yes, you should have 2 different build-places and install debug and
optimized
versions in different paths or with different suffixes.

Cheers,

Anton

Follow ups

References