How to debug Weston

Revision as of 14:41, 3 October 2019 by Philippe Cornu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Wayland logs

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

Board $> export WAYLAND_DEBUG=1

2 Saving Weston logs in a file

Standard Weston logs are available in the /var/log/weston.log file when Weston is started using the systemd service.

Board $> cat /var/log/weston.log

3 Displaying Weston logs on a console

Start Weston with the following command:

Board $> weston --tty=1 &

All Weston logs are then displayed on the console.



Attachments

Discussions