[lttng-dev] Help-lttng-ust-pyhton

Yves Junior Bationo yves-junior.bationo at polymtl.ca
Fri Nov 6 17:59:09 EST 2015


j'ai un souci avec lltngust pour les application python
Pour l'exemple de la Doc
	https://lttng.org/docs/#doc-python-application
j'ai l'erreur:
	No handlers could be found for logger "hello-logger"

la commande "lttng list -u -a" me retourne bien la liste des trace point:

	PID: 5228 - Name: python
       lttng_python:event (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG (loglevel: TRACE_DEBUG (14))  
(type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_LINE (loglevel: TRACE_DEBUG_LINE  
(13)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_FUNCTION (loglevel:  
TRACE_DEBUG_FUNCTION (12)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_UNIT (loglevel: TRACE_DEBUG_UNIT  
(11)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_MODULE (loglevel:  
TRACE_DEBUG_MODULE (10)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_PROCESS (loglevel:  
TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_PROGRAM (loglevel:  
TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_DEBUG_SYSTEM (loglevel:  
TRACE_DEBUG_SYSTEM (7)) (type: tracepoint)
       lttng_ust_tracelog:TRACE_INFO (loglevel: TRACE_INFO (6)) (type:  
tracepoint)
       lttng_ust_tracelog:TRACE_NOTICE (loglevel: TRACE_NOTICE (5))  
(type: tracepoint)
       lttng_ust_tracelog:TRACE_WARNING (loglevel: TRACE_WARNING (4))  
(type: tracepoint)
       lttng_ust_tracelog:TRACE_ERR (loglevel: TRACE_ERR (3)) (type:  
tracepoint)
       lttng_ust_tracelog:TRACE_CRIT (loglevel: TRACE_CRIT (2)) (type:  
tracepoint)
       lttng_ust_tracelog:TRACE_ALERT (loglevel: TRACE_ALERT (1))  
(type: tracepoint)
       lttng_ust_tracelog:TRACE_EMERG (loglevel: TRACE_EMERG (0))  
(type: tracepoint)
       lttng_ust_tracef:event (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
       lttng_ust_statedump:end (loglevel: TRACE_DEBUG_LINE (13))  
(type: tracepoint)
       lttng_ust_statedump:debug_link (loglevel: TRACE_DEBUG_LINE  
(13)) (type: tracepoint)
       lttng_ust_statedump:build_id (loglevel: TRACE_DEBUG_LINE (13))  
(type: tracepoint)
       lttng_ust_statedump:soinfo (loglevel: TRACE_DEBUG_LINE (13))  
(type: tracepoint)
       lttng_ust_statedump:start (loglevel: TRACE_DEBUG_LINE (13))  
(type: tracepoint)

Mais pas de resultats dans le repertoire des evenements lorsque  
j'active le tracage lttng.

Resumé
	Probleme 1 :No handlers could be found for logger
		je croyais que "import lttngust" devait gerer cette situation

	Probleme 2: pas de resultats au tracage
Merci.







More information about the lttng-dev mailing list