bug fix : prevent issue CID 13716
[framework/system/dlog.git] / dlog.sh
1 #!/bin/sh
2 cp /opt/etc/platformlog.conf /tmp/.platformlog.conf
3 chmod 660 /tmp/.platformlog.conf
4 chown root:app_logging /tmp/.platformlog.conf
5 chsmack -a '_' -e 'none' /tmp/.platformlog.conf
6 /usr/bin/dlogutil -b system -r 5120 -n 1 -f /var/log/dlog_system -v threadtime *:I &
7 /usr/bin/dlogutil -b main -r 3072 -n 1 -f /var/log/dlog_main -v threadtime *:W &