Registered User mNo edit summary |
Registered User No edit summary |
||
Line 1: | Line 1: | ||
==Wayland logs== | ==Wayland logs== | ||
To get the logs of the wayland protocol messages, set this environment variable: | To get the logs of the wayland protocol messages, set this environment variable: | ||
Line 19: | Line 11: | ||
{{Board$}} weston --tty=1 & | {{Board$}} weston --tty=1 & | ||
All Weston logs are then displayed on the console. | All Weston logs are then displayed on the console. | ||
<noinclude> | |||
{{PublicationRequestId | 9279 | 2018-10-16 | AnneJ}} | |||
[[Category:How to trace and debug]] | |||
[[Category:Wayland Weston]] | |||
</noinclude> |
Latest revision as of 14:41, 3 October 2019
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 /var/log/weston.log file when Weston is started using the systemd service.
cat /var/log/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.