Difference between revisions of "How to debug Weston"

[unchecked revision] [quality revision]
m
 
m



1 Wayland logs[edit]

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[edit]

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[edit]

Start Weston with the following command:

Board $> weston --tty=1 &

All Weston logs are then displayed on the console.

<noinclude>

{{ArticleMainWriter | PhilippeC}}
{{ArticleApprovedVersion | PhilippeC | VincentA | No previous approved version | AnneJ - 16Oct'18 - 9279 | 16Oct'18}}

[[Category:How to trace and debug]]
[[Category:Wayland /Weston]]</noinclude>


==Wayland logs==
To get the logs of the wayland protocol messages, set this environment variable:
 {{Board$}} export WAYLAND_DEBUG=1

==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

==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.
Line 4: Line 4:
   
 
[[Category:How to trace and debug]]
 
[[Category:How to trace and debug]]
[[Category:Wayland/Weston]]
+
[[Category:Wayland Weston]]
 
</noinclude>
 
</noinclude>
   

Attachments

Discussions