During the installation and configuration of the N1 System Manager, you can configure which events to log and you can also interactively configure severity levels for event topics. See Configuring the N1 System Manager System in Sun N1 System Manager 1.1 Installation and Configuration Guide.
Even if a log is not saved, it can still generate a notification.
Use the show command with the log keyword to view the following information about events:
Date – The date and time of the event.
Subject – The server on which the event occurred.
Topic – The topic of the event, which can be useful for setting up notifications. Refer to Setting Up Notifications for information.
Severity – Relative severity of the event.
Level – Relative level of the event.
Source – The name of the component that generated the event. For events that are generated during the execution of a job, the source is the job number.
Role – Role or user name of the user who initiated the event.
Message – Complete text of the event log message.
The n1smconfig script can be used to change the number of days for which logs are kept. Reducing the number of days for which logs are stored reduces the average size of the log files. This task ensures that the log file size does not impair performance. The n1smconfig script is stored at /opt/sun/n1gc/bin. This script can be used to set the number of days for which logs are held.To configure logging, you must specify an event category and a resource category. The following event categories are defined:
Action
Ereport
Lifecycle
List
Problem
Statistic
all
Use the all event category to indicate that all events are to be logged. To understand how other event categories relate to actual events, see the notification topics at create notification in Sun N1 System Manager 1.1 Command Line Reference Manual.