]> git.saurik.com Git - apple/syslog.git/blobdiff - syslogd.tproj/asl_sim.conf
syslog-267.tar.gz
[apple/syslog.git] / syslogd.tproj / asl_sim.conf
index 5af3ff64f2f027808d837afefaaa0ad56b7dba6d..e2cc06add06cdcd97f8ff7bf7224b3b5befbfc28 100644 (file)
@@ -2,14 +2,14 @@
 # configuration file for syslogd and aslmanager in the iOS Simulator
 ##
 
-# redirect com.apple.message.domain to $ENV(IPHONE_SIMULATOR_LOG_ROOT)/DiagnosticMessages
-? [T com.apple.message.domain] store_dir $ENV(IPHONE_SIMULATOR_LOG_ROOT)/DiagnosticMessages
+# redirect com.apple.message.domain to $ENV(SIMULATOR_LOG_ROOT)/DiagnosticMessages
+? [T com.apple.message.domain] store_dir $ENV(SIMULATOR_LOG_ROOT)/DiagnosticMessages
 
-# redirect com.apple.performance* messages to $ENV(IPHONE_SIMULATOR_LOG_ROOT)/performance
-? [A= Facility com.apple.performance] store_dir $ENV(IPHONE_SIMULATOR_LOG_ROOT)/performance
+# redirect com.apple.performance* messages to $ENV(SIMULATOR_LOG_ROOT)/performance
+? [A= Facility com.apple.performance] store_dir $ENV(SIMULATOR_LOG_ROOT)/performance
 
-# redirect com.apple.eventmonitor* messages to $ENV(IPHONE_SIMULATOR_LOG_ROOT)/eventmonitor
-? [A= Facility com.apple.eventmonitor] store_dir $ENV(IPHONE_SIMULATOR_LOG_ROOT)/eventmonitor
+# redirect com.apple.eventmonitor* messages to $ENV(SIMULATOR_LOG_ROOT)/eventmonitor
+? [A= Facility com.apple.eventmonitor] store_dir $ENV(SIMULATOR_LOG_ROOT)/eventmonitor
 
 # broadcast emergency messages
 ? [= Level emergency] broadcast
 ? [<= Level notice] store
 
 # install messages get saved only in install.log
-? [= Facility install] file $ENV(IPHONE_SIMULATOR_LOG_ROOT)/install.log format=bsd
+? [= Facility install] file $ENV(SIMULATOR_LOG_ROOT)/install.log format=bsd file_max=5M all_max=50M
 ? [= Facility install] ignore
 
+> $ENV(SIMULATOR_LOG_ROOT)/system.log mode=0640 format=bsd rotate=seq compress file_max=5M all_max=50M
+
 # emergency - notice get saved in system.log
-? [<= Level notice] file $ENV(IPHONE_SIMULATOR_LOG_ROOT)/system.log
+? [<= Level notice] file $ENV(SIMULATOR_LOG_ROOT)/system.log
 
 # Facility auth to level info gets saved in system.log
-? [= Facility auth] [<= Level info] file $ENV(IPHONE_SIMULATOR_LOG_ROOT)/system.log
+? [= Facility auth] [<= Level info] file $ENV(SIMULATOR_LOG_ROOT)/system.log
 
 # Facility authpriv gets saved in system.log
-? [= Facility authpriv] file $ENV(IPHONE_SIMULATOR_LOG_ROOT)/system.log
+? [= Facility authpriv] file $ENV(SIMULATOR_LOG_ROOT)/system.log