]>
Commit | Line | Data |
---|---|---|
5222c21d A |
1 | ## |
2 | # configuration file for syslogd and aslmanager | |
3 | ## | |
4 | ||
5 | # aslmanager logs | |
6 | > /var/log/asl/Logs/aslmanager external style=lcl-b ttl=2 | |
7 | ||
8 | # authpriv messages are root/admin readable | |
9 | ? [= Facility authpriv] access 0 80 | |
10 | ||
11 | # remoteauth critical, alert, and emergency messages are root/admin readable | |
12 | ? [= Facility remoteauth] [<= Level critical] access 0 80 | |
13 | ||
14 | # broadcast emergency messages | |
15 | ? [= Level emergency] broadcast | |
16 | ||
17 | # save kernel [PID 0] and launchd [PID 1] messages | |
18 | ? [<= PID 1] store | |
19 | ||
20 | # ignore "internal" facility | |
21 | ? [= Facility internal] ignore | |
22 | ||
23 | # save everything from emergency to notice | |
24 | ? [<= Level notice] store | |
25 | ||
26 | # Rules for /var/log/system.log | |
27 | > system.log mode=0640 format=bsd rotate=seq compress file_max=5M all_max=50M | |
28 | ? [= Sender kernel] file system.log | |
29 | ? [<= Level notice] file system.log | |
30 | ? [= Facility auth] [<= Level info] file system.log | |
31 | ? [= Facility authpriv] [<= Level info] file system.log | |
32 | ||
33 | # Facility com.apple.alf.logging gets saved in appfirewall.log | |
34 | ? [= Facility com.apple.alf.logging] file appfirewall.log file_max=5M all_max=50M |