[PATCH 1/6 weston] xserver: log locally

Tiago Vignatti tiago.vignatti at intel.com
Tue Apr 3 06:57:59 PDT 2012


useful for weston on non-suid environments.

Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 src/xserver-launcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/xserver-launcher.c b/src/xserver-launcher.c
index 502b9d4..4fda42f 100644
--- a/src/xserver-launcher.c
+++ b/src/xserver-launcher.c
@@ -1398,6 +1398,7 @@ weston_xserver_handle_event(int listen_fd, uint32_t mask, void *data)
 		if (execl(XSERVER_PATH,
 			  XSERVER_PATH,
 			  display,
+			  "-logfile", config_file_path("Xorg.log"),
 			  "-wayland",
 			  "-rootless",
 			  "-retro",
-- 
1.7.5.4



More information about the wayland-devel mailing list