From: SeokYeon Hwang Date: Tue, 2 Apr 2013 07:48:41 +0000 (+0900) Subject: Change log output of system/user daemon to emulator.klog X-Git-Tag: submit/tizen_common/20140529.181337~11^2~11^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af6cdc3a9b789a36f7b7f93c0f1aef51133a27d3;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git Change log output of system/user daemon to emulator.klog Change-Id: Ia97b2f2fbdda660066b49110d014d3eee3f79169 Signed-off-by: SeokYeon Hwang --- diff --git a/filesystem/etc/preconf.d/systemd_conf.preinit b/filesystem/etc/preconf.d/systemd_conf.preinit new file mode 100755 index 0000000..014d570 --- /dev/null +++ b/filesystem/etc/preconf.d/systemd_conf.preinit @@ -0,0 +1,10 @@ +#!/bin/sh + +# Prepare systemd log output +# For system.conf +echo "DefaultStandardOutput=kmsg" >> /etc/systemd/system.conf +echo "DefaultStandardError=kmsg" >> /etc/systemd/system.conf +# For user.conf +echo "DefaultStandardOutput=inherit" >> /etc/systemd/user.conf +echo "DefaultStandardError=inherit" >> /etc/systemd/user.conf +