Error logging is provided through:
———————————
alog, errlog and syslog.

Display the contents of the boot log
———————————
alog -o -t boot

Display the contents of the console log
———————————
alog -o -t console

List all log types that alog knows
———————————
alog -L

Send a message to errlog
————————
errlogger “Your message here”

List info on error ID FE2DEE00 (IDENTIFIER column in errpt output)
——————————————————————
errpt -aDj FE2DEE00

List all errors that happened today
———————————–
errpt -s `date +%m%d0000%y`

To list all errors on hdisk0
—————————-
errpt -N hdisk0

To list details about the error log
———————————–
/usr/lib/errdemon -l

To change the size of the error log to 2 MB
——————————————-
/usr/lib/errdemon -s 2097152

syslog.conf line to send all messages to log file
————————————————–
*.debug /var/log/messages

syslog.conf line to send all messages to error log
————————————————–
*.debug errlog

To identify the error details from repository
———————————————
errpt -t |grep 173C787F

To open the alternate error log file
————————————
errpt -i errlog

How to check start and end date in errpt
========================================
errpt -s 0303000015 -e 0304000015