By default, all system messages of level INFO and higher are sent to the console and to the /etc/messages file, which enables you to see a record of events on your storage system and use scripts to parse for particular events.
The /etc/messages file is rotated once a week, and six weeks of messages are retained.
You can use the logger command to create and send a system message explicitly. For more information about the logger command, see the na_logger(1) man page.
If you would like to change the level of messages that are sent to /etc/messages, you can edit /etc/syslog.conf. For more information about message levels and the /etc/syslog.conf file, see the na_syslog.conf(5) man page.