asl.conf.ios   [plain text]


##
# configuration file for syslogd and aslmanager
##

# aslmanager logs
> /var/log/asl/Logs/aslmanager external style=lcl-b ttl=2

# authpriv messages are root/admin readable
? [= Facility authpriv] access 0 80

# remoteauth critical, alert, and emergency messages are root/admin readable
? [= Facility remoteauth] [<= Level critical] access 0 80

# broadcast emergency messages
? [= Level emergency] broadcast

# save kernel [PID 0] and launchd [PID 1] messages
? [<= PID 1] store

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

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

# Specify owner, group, and access bits for mobile-owned log directories
> /var/mobile/Library uid=501 gid=501 mode=0700
> /var/mobile/Library/Logs uid=501 gid=250 mode=0775
> /var/mobile/Library/Logs/CrashReporter uid=501 gid=250 mode=0775
> /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs uid=501 gid=501 mode=0755