Re-enable weston logs by routing std{err,out} to the journal. 20/17020/1 accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_panda tizen_ivi_release accepted/tizen/ivi/20140228.225334 accepted/tizen/ivi/panda/20140403.015718 accepted/tizen/ivi/release/20140312.124659 submit/tizen/20140228.223407 submit/tizen_ivi_panda/20140403.012240 submit/tizen_ivi_release/20140312.071519
authorOssama Othman <ossama.othman@intel.com>
Fri, 28 Feb 2014 21:50:20 +0000 (13:50 -0800)
committerOssama Othman <ossama.othman@intel.com>
Fri, 28 Feb 2014 21:59:31 +0000 (13:59 -0800)
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 <ossama.othman@intel.com>
packaging/weston-ivi.changes
weston.service

index 65c54d9..cdeb90d 100644 (file)
@@ -1,3 +1,6 @@
+* Fri Feb 28 2014 Ossama Othman <ossama.othman@intel.com> accepted/tizen/ivi/20140127.211912@f435dd5
+- Re-enable weston logs by routing stderr to the journal.
+
 * Mon Jan 27 2014 Ossama Othman <ossama.othman@intel.com> accepted/tizen/ivi/20140123.182127@3de8de8
 - Changed background and panel colors to use Tizen palette colors.
 - Set Conflicts with ico-uxf-weston-plugin
index 3f7e56a..7234b73 100644 (file)
@@ -5,6 +5,8 @@ Requires=dbus.socket
 [Service]
 ExecStart=/usr/bin/weston-launch -- -i0
 StandardInput=tty
+StandardOutput=journal
+StandardError=journal
 TTYPath=/dev/tty1
 
 [Install]