Exceptionally, this wiki is under maintenance.

You can continue to browse it to discover the STM32MP1 series and associated ecosystems (STM32 boards, embedded software, development tools, trace & debug tools...) but contributors can not improve their favorite articles, during phase.

Thank you for your understanding.

How to debug Weston

Revision as of 14:43, 9 June 2022 by Registered User
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Applicable for STM32MP13x lines, STM32MP15x lines

1 Wayland logs

To get the logs of the wayland protocol messages, set this environment variable:

 export WAYLAND_DEBUG=1

2 Saving Weston logs in a file

Standard Weston logs are available in the /home/weston/weston.log file when Weston is started with the "weston user" using the systemd service.

 cat /home/weston/weston.log

3 Displaying Weston logs on a console

Start Weston with the following command:

 weston --tty=1 &

All Weston logs are then displayed on the console.