← Back to team overview

yade-users team mailing list archive

Re: Logging problem

 

Thanks. I was not looking into the good directory...
It works.

Bruno


Václav Šmilauer a écrit :
I've not been able to see LOG outputs for a while. The only log I can get is the one from Omega (save/load). I can't find the way to get unbalancedForce and stress from TriaxialCompressionEngine (LOG_INFO's).

My logging.conf looks like this (other line not modified) :

# except for the classes where requested:
log4j.logger.yade.Omega=DEBUG
log4j.logger.yade.TriaxialCompressionEngine=INFO
log4j.logger.yade.TriaxialStressController=INFO

That should work, provided the file is in the right directory
(~/.yade-trunk-dbg/logging.conf , for example). If not sure, try running

from yade import log
log.setLevel('TriaxialCompressionEngine',log.INFO)
log.setLevel('TriaxialStressController',log.INFO)

Also, if you run yade-trunk-dbg -vv (or, which is the same, YADE_DEBUG=1
yade-trun-dbg), you will have DEBUG set by default (unless overridden by
the config file).

v


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp



--

_______________
Chareyre Bruno
Maître de Conférences

Grenoble INP
Laboratoire 3SR - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________




Follow ups

References