asl.conf.ios_sim   [plain text]


##
# configuration file for syslogd and aslmanager in the iOS Simulator
##

# 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(SIMULATOR_LOG_ROOT)/performance
? [A= Facility com.apple.performance] store_dir $ENV(SIMULATOR_LOG_ROOT)/performance

# redirect com.apple.eventmonitor* messages to $ENV(SIMULATOR_LOG_ROOT)/eventmonitor
? [A= Facility com.apple.eventmonitor] store_dir $ENV(SIMULATOR_LOG_ROOT)/eventmonitor

# ignore "internal" facility
? [= Facility internal] ignore

# save everything from emergency to notice
? [<= Level notice] store

# install messages get saved only in install.log
? [= 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(SIMULATOR_LOG_ROOT)/system.log

# Facility auth to level info gets saved in system.log
? [= Facility auth] [<= Level info] file $ENV(SIMULATOR_LOG_ROOT)/system.log

# Facility authpriv gets saved in system.log
? [= Facility authpriv] file $ENV(SIMULATOR_LOG_ROOT)/system.log