Re: [Yade-dev] Logging and debugging

2013-08-28 Thread Klaus Thoeni
Hi Anton, I put a std::cerr in the first line of Newtonintegrator::action() in Newtonintegrator.cpp. Any script with NewtonIntegrator should call this method. Or am I wrong? Klaus On Wednesday 28 August 2013 07:43:48 Anton Gladky wrote: Could you, please, send a minimal script to localize

Re: [Yade-dev] Logging and debugging

2013-08-27 Thread Klaus Thoeni
Hi Anton On Thursday 22 August 2013 08:33:58 Anton Gladky wrote: 2013/8/22 Klaus Thoeni klaus.tho...@gmail.com: So what can I use to see the log output? Is there an other way for doing it now? Or is this feature completely removed? If so all the LOGs in the code are for nothing now.

Re: [Yade-dev] Logging and debugging

2013-08-27 Thread Anton Gladky
Could you, please, send a minimal script to localize the problem? Anton 2013/8/27 Klaus Thoeni klaus.tho...@gmail.com: Hi Anton On Thursday 22 August 2013 08:33:58 Anton Gladky wrote: 2013/8/22 Klaus Thoeni klaus.tho...@gmail.com: So what can I use to see the log output? Is there an other

Re: [Yade-dev] Logging and debugging

2013-08-22 Thread Klaus Thoeni
Hi Anton On Thursday 22 August 2013 07:50:28 Anton Gladky wrote: Hi Klaus, 2013/8/22 Klaus Thoeni klaus.tho...@gmail.com 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

Re: [Yade-dev] Logging and debugging

2013-08-22 Thread Anton Gladky
2013/8/22 Klaus Thoeni klaus.tho...@gmail.com: So what can I use to see the log output? Is there an other way for doing it now? Or is this feature completely removed? If so all the LOGs in the code are for nothing now. LOG_WARN, LOG_ERROR, LOG_FATAL should work [1]. I see. Do I have to set

[Yade-dev] Logging and debugging

2013-08-21 Thread Klaus Thoeni
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) One can cmake with -DDEBUG=ON which should

Re: [Yade-dev] Logging and debugging

2013-08-21 Thread Anton Gladky
Hi Klaus, 2013/8/22 Klaus Thoeni klaus.tho...@gmail.com 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