[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [certi-dev] certi debugging
From: |
Gotthard, Petr |
Subject: |
RE: [certi-dev] certi debugging |
Date: |
Thu, 28 May 2009 11:29:08 +0200 |
Hi Michael,
In each .cpp file there is something like
static PrettyDebug X("NAME", __FILE__)
Each debug level has a letter A-Z assigned (pdDebugLevel).
The messages are printed using
X.Out(pdSomeDebugLevel, "some string")
You should set the NAME environment variable to list the levels you want
to see, as described in libCERTI/PrettyDebug.hh. For example, if
NAME=CD, the pdDebug and the pdCom are enabled and all other levels are
disabled.
If NAME="ACDEGIMPRSTWXZ", you get everything.
The list from Matteo contains all variables you have to set to get
REALLY everything. ;-)
Petr
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Matteo Boccafoli
Sent: Thursday, May 28, 2009 11:23 AM
To: CERTI development discussions
Subject: Re: [certi-dev] certi debugging
* Michael Raab <address@hidden> [280509, 09:23]:
> looking at the CERTI code, i saw that some log and debug statements
are
> generated.
> How can i catch them?
Do you have tried with env setting?
export BILLARD_DDM="ACDEGIMPRSTWXZ"
export BROADCAST="ACDEGIMPRSTWXZ"
export EXTENT="ACDEGIMPRSTWXZ"
export FEDERATION="ACDEGIMPRSTWXZ"
export FEDERATIONSLIST="ACDEGIMPRSTWXZ"
export FEDPARSER="ACDEGIMPRSTWXZ"
export GAV="ACDEGIMPRSTWXZ"
export GENDOC="ACDEGIMPRSTWXZ"
export INTBROADCASTLIST="ACDEGIMPRSTWXZ"
export INTERACTION="ACDEGIMPRSTWXZ"
export INTERACTIONSET="ACDEGIMPRSTWXZ"
export LBTS="ACDEGIMPRSTWXZ"
export LIBRTI="ACDEGIMPRSTWXZ"
export MB="ACDEGIMPRSTWXZ"
export MESSAGE="ACDEGIMPRSTWXZ"
export OBJECTATTRIBUTE="ACDEGIMPRSTWXZ"
export OBJECTCLASS="ACDEGIMPRSTWXZ"
export OBJECTCLASSATTRIBUTE="ACDEGIMPRSTWXZ"
export OBJECTCLASSSET="ACDEGIMPRSTWXZ"
export OBJECTSET="ACDEGIMPRSTWXZ"
export ROOTOBJECT="ACDEGIMPRSTWXZ"
export RTIA_MSG="ACDEGIMPRSTWXZ"
export RTIA_OM="ACDEGIMPRSTWXZ"
export RTIA_TM="ACDEGIMPRSTWXZ"
export RTIG="ACDEGIMPRSTWXZ"
export RTIG_MSG="ACDEGIMPRSTWXZ"
export RTI_EXCEPTION="ACDEGIMPRSTWXZ"
export SECURITY_SERVER="ACDEGIMPRSTWXZ"
export SOCKTCP="ACDEGIMPRSTWXZ"
export SOCKUDP="ACDEGIMPRSTWXZ"
export STCPSOCK="ACDEGIMPRSTWXZ"
export SUBSCRIBABLE="ACDEGIMPRSTWXZ"
export XMLPARSER="ACDEGIMPRSTWXZ"
Matteo
--
CERTI-Devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/certi-devel