PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist
ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.osx
SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf
+elif [[ "${PLATFORM_NAME}" == "bridgeos" ]] ; then
+ PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist
+ ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios
+ SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf
+ SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log.bridgeos
else
PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist
ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios
--- /dev/null
+# Rules for /var/log/system.log
+# This file is installed in /usr/local/etc/asl on iOS for Apple Internal
+#
+> /var/log/system.log mode=0640 format=bsd rotate=system.seq.log compress file_max=1M all_max=3M
+? [= Sender kernel] file system.log
+? [<= Level notice] file system.log
+? [= Facility auth] [<= Level info] file system.log
+? [= Facility authpriv] [<= Level info] file system.log