From: Ossama Othman Date: Fri, 28 Feb 2014 21:50:20 +0000 (-0800) Subject: Re-enable weston logs by routing std{err,out} to the journal. X-Git-Tag: accepted/tizen/ivi/20140228.225334^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_ivi_panda;p=profile%2Fivi%2Fweston-ivi.git Re-enable weston logs by routing std{err,out} to the journal. By default the stderr file descriptor is duplicated from stdout, and stdout is duplicated from stdin. However, stdin points to the tty used by weston, meaning output written to stdout and stderr will not be available. Route both to the systemd journal instead. Change-Id: I34520a6f53dbf8299d605e9a60b85ab04c9b4596 Signed-off-by: Ossama Othman --- diff --git a/packaging/weston-ivi.changes b/packaging/weston-ivi.changes index 65c54d9..cdeb90d 100644 --- a/packaging/weston-ivi.changes +++ b/packaging/weston-ivi.changes @@ -1,3 +1,6 @@ +* Fri Feb 28 2014 Ossama Othman accepted/tizen/ivi/20140127.211912@f435dd5 +- Re-enable weston logs by routing stderr to the journal. + * Mon Jan 27 2014 Ossama Othman accepted/tizen/ivi/20140123.182127@3de8de8 - Changed background and panel colors to use Tizen palette colors. - Set Conflicts with ico-uxf-weston-plugin diff --git a/weston.service b/weston.service index 3f7e56a..7234b73 100644 --- a/weston.service +++ b/weston.service @@ -5,6 +5,8 @@ Requires=dbus.socket [Service] ExecStart=/usr/bin/weston-launch -- -i0 StandardInput=tty +StandardOutput=journal +StandardError=journal TTYPath=/dev/tty1 [Install]