Skip to content

Instantly share code, notes, and snippets.

@inC3ASE
Created October 14, 2016 09:10
Show Gist options
  • Save inC3ASE/1c1b642df50314c4aacc49281c9437c1 to your computer and use it in GitHub Desktop.
Save inC3ASE/1c1b642df50314c4aacc49281c9437c1 to your computer and use it in GitHub Desktop.
//private/etc/asl.conf more examples of maybe important, i have no clue
##
# 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
# Rules for /var/log/system.log
> system.log mode=0640 format=bsd rotate=seq compress file_max=5M all_max=50M
? [= Sender kernel] file system.log
? [<= Level notice] file system.log
? [= Facility auth] [<= Level info] file system.log
? [= Facility authpriv] [<= Level info] file system.log
# Facility com.apple.alf.logging gets saved in appfirewall.log
? [= Facility com.apple.alf.logging] file appfirewall.log file_max=5M all_max=50M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment