aslmanager [-s store_dir] [-a [archive_dir]] [-ttl days] [-store_ttl days]
[-module_ttl days] [-size max_size] [-asldb]
[-module [name]] [-checkpoint] [-d [level]] [-dd [level]]
Started by syslogd or admin, manages rotation of files and ASL data written by syslogd .
Configuration /etc/asl.conf, /etc/asl which may be overridden by command-line options .
Checks the ASL database in store_path (/var/log/asl), then files and directories specified by
/etc/asl.conf and each ASL output module.
-asldb | only ASL database will be processed. | |||||||||||||||||||
-module [module] ASL database will not be processed. All ASL output modules, or a single module if name is specified, will be processed.
| -checkpoint [module] signal | syslogd to checkpoint files for all modules, or for a single named module, before processing.
-d 1|2|3 output debug messages, 3 causing the most detail.. default: 1.
| -dd 1|2|3 dry run ,no modifications are made
| | -s file | |||||||||||||||
ls -l /etc/asl.conf -rw-r--r-- 1 root wheel 1051 Mar 10 04:15 asl.conf > cat /etc/asl.conf ## # 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 # Store kernel [PID 0] and launchd [PID 1] messages ? [<= PID 1] store # Ignore "internal" facility ? [= Facility internal] ignore # Store everything from emergency,alert, error, warning, notice i.e. 0,1,2,3,4,5 <= 5 ? [<= 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