Sun Java System Messaging Server 6 2005Q4 Administration Guide

Logging Levels

The level, or priority, of logging defines how detailed, or verbose, the logging activity is to be. A higher priority level means less detail; it means that only events of high priority (high severity) are logged. A lower level means greater detail; it means that more events are recorded in the log file.

You can set the logging level separately for each service—POP, IMAP, HTTP, Admin, and Default by setting the logfile.service.loglevel configuration parameter (see Defining and Setting Service Logging Options). You can also use logging levels to filter searches for log events. Table 21–4 describes the available levels. These logging levels are a subset of those defined by the UNIX syslog facility.

Table 21–4 Logging Levels for Store and Administration Services

Level  

Description  

Critical 

The minimum logging detail. An event is written to the log whenever a severe problem or critical condition occurs—such as when the server cannot access a mailbox or a library needed for it to run. 

Error 

An event is written to the log whenever an error condition occurs—such as when a connection attempt to a client or another server fails. 

Warning 

An event is written to the log whenever a warning condition occurs—such as when the server cannot understand a communication sent to it by a client. 

Notice 

An event is written to the log whenever a notice (a normal but significant condition) occurs—such as when a user login fails or when a session closes. This is the default log level. 

Information 

An event is written to the log with every significant action that takes place—such as when a user successfully logs on or off or creates or renames a mailbox. 

Debug 

The most verbose logging. Useful only for debugging purposes. Events are written to the log at individual steps within each process or task, to pinpoint problems. 

When you select a particular logging level, events corresponding to that level and to all higher (less verbose) levels are logged. The default level of logging is Notice.


Note –

The more verbose the logging you specify, the more disk space your log files will occupy; for guidelines, see Defining and Setting Service Logging Options