]> git.saurik.com Git - apple/syslog.git/commitdiff
syslog-356.70.1.tar.gz macos-10136 v356.70.1
authorApple <opensource@apple.com>
Fri, 6 Apr 2018 23:52:38 +0000 (23:52 +0000)
committerApple <opensource@apple.com>
Fri, 6 Apr 2018 23:52:38 +0000 (23:52 +0000)
syslogd.tproj/after_install.sh
syslogd.tproj/com.apple.system.log.bridgeos [new file with mode: 0644]

index 6fb20af8f37e85d7510dd394801fffed0a092227..85096a03f32123325514106f27fc583d42481b87 100755 (executable)
@@ -7,6 +7,11 @@ elif [[ "${PLATFORM_NAME}" == "macosx" ]] ; then
     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
diff --git a/syslogd.tproj/com.apple.system.log.bridgeos b/syslogd.tproj/com.apple.system.log.bridgeos
new file mode 100644 (file)
index 0000000..3384e9c
--- /dev/null
@@ -0,0 +1,8 @@
+# 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