Atached logger to most system services for debugging purposes.
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 173e836..b2a6bd2 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -445,17 +445,17 @@
on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1
-service irsc_util /system/bin/irsc_util "/etc/sec_config"
+service irsc_util /system/bin/logwrapper /system/bin/irsc_util "/etc/sec_config"
class main
user root
oneshot
-service rmt_storage /system/bin/rmt_storage
+service rmt_storage /system/bin/logwrapper /system/bin/rmt_storage
class core
user root
disabled
-service rfs_access /system/bin/rfs_access
+service rfs_access /system/bin/logwrapper /system/bin/rfs_access
class core
user root
group system net_raw
@@ -524,14 +524,14 @@
group radio system inet
disabled
-service qmiproxy /system/bin/qmiproxy
+service qmiproxy /system/bin/logwrapper /system/bin/qmiproxy
class main
user radio
group radio qcom_diag
disabled
# QMUX must be in multiple groups to support external process connections
-service qmuxd /system/bin/qmuxd
+service qmuxd /system/bin/logwrapper /system/bin/qmuxd
class main
user root
group radio audio bluetooth gps qcom_diag
@@ -584,7 +584,7 @@
disabled
oneshot
-service olsrd /system/bin/olsrd -f /etc/wifi/olsrd.conf
+service olsrd /system/bin/logwrapper /system/bin/olsrd -f /etc/wifi/olsrd.conf
class main
disabled
oneshot
@@ -664,14 +664,14 @@
disabled
oneshot
-service wlandutservice /system/bin/wlandutservice
+service wlandutservice /system/bin/logwrapper /system/bin/wlandutservice
class main
user system
group wifi net_raw net_admin system inet
disabled
oneshot
-service macloader /system/bin/macloader
+service macloader /system/bin/logwrapper /system/bin/macloader
class main
oneshot
diff --git a/rootdir/etc/init.rilchip.rc b/rootdir/etc/init.rilchip.rc
index d70ba91..12e5d55 100755
--- a/rootdir/etc/init.rilchip.rc
+++ b/rootdir/etc/init.rilchip.rc
@@ -19,12 +19,12 @@
group radio
# QMUX must be in multiple groups to support external process connections
-service qmuxd /system/bin/qmuxd
+service qmuxd /system/bin/logwrapper /system/bin/qmuxd
class main
user root
group radio audio bluetooth gps qcom_diag
-service diag_mdlog_start /system/bin/diag_mdlog
+service diag_mdlog_start /system/bin/logwrapper /system/bin/diag_mdlog
class late_start
user sdcard_rw
group system qcom_diag sdcard_rw sdcard_r media_rw
diff --git a/rootdir/etc/init.rilcommon.rc b/rootdir/etc/init.rilcommon.rc
index 6b48422..c4509c1 100755
--- a/rootdir/etc/init.rilcommon.rc
+++ b/rootdir/etc/init.rilcommon.rc
@@ -13,22 +13,22 @@
on boot
# AT Distributor for factory test
-service at_distributor /system/bin/at_distributor
+service at_distributor /system/bin/logwrapper /system/bin/at_distributor
class late_start
user root
group radio misc log
-service DR-daemon /system/bin/ddexe
+service DR-daemon /system/bin/logwrapper /system/bin/ddexe
class main
user root
group system radio inet net_raw
-service SMD-daemon /system/bin/smdexe
+service SMD-daemon /system/bin/logwrapper /system/bin/smdexe
class main
user root
group system radio inet net_raw
-service BCS-daemon /system/bin/connfwexe
+service BCS-daemon /system/bin/logwrapper /system/bin/connfwexe
class main
user root
group system radio inet net_raw