Remove debug timer log

Hello,

I’ve noticed on Legato 19.11 with WP76XX that the timer framework was now displaying logs when a timer is started and stopped.

Is there a way to disable those logs?

Jan  1 05:53:43 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired
Jan  1 05:53:43 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c RestartTimerPhys() 289 | timer 'ledTimer' started
Jan  1 05:53:44 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired
Jan  1 05:53:44 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c RestartTimerPhys() 289 | timer 'ledTimer' started
Jan  1 05:53:44 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired
Jan  1 05:53:44 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c RestartTimerPhys() 289 | timer 'ledTimer' started
Jan  1 05:53:45 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired
Jan  1 05:53:45 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c RestartTimerPhys() 289 | timer 'ledTimer' started
Jan  1 05:53:45 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired
Jan  1 05:53:45 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c RestartTimerPhys() 289 | timer 'ledTimer' started
Jan  1 05:53:46 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired
Jan  1 05:53:46 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c RestartTimerPhys() 289 | timer 'ledTimer' started
Jan  1 05:53:46 hhv2-000000 user.debug Legato:  DBUG | LEDsHandler[1204]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer 'ledTimer' expired

Thanks

you can rebuild the legato.cwe to comment out those trace in \framework\liblegato\linux\timer.c

OR you can try:
log stoptrace "Timer" "*/*"

Thanks, I’ve set

    envVars:
    {
        LE_LOG_LEVEL = INFO
    }

in the .adef of the app using the Timer and now they’re gone