Console and Log Messages

Introduction

Log messages are logged to the /var/adm/messages system file.

Table 7: Notice, Warnings and Error Types

Driver Parameter

Default/

Effect of Changing

Related lpfc Driver Parameters

Min/Max

Default

 

 

 

 

 

 

 

 

 

 

console-notices

0

Sets the verbose level for

log-only (when set to 0, log

 

 

driver notices to the

messages are logged to the

 

 

console.

system log file and also printed on

 

 

 

the console.)

console-warnings

0

Sets the verbose level for

 

 

 

driver warnings to the

Default = Disabled

 

 

console.

 

 

 

 

 

 

 

console-errors

0

Sets the verbose level for

 

 

 

driver errors to the console.

 

 

 

 

 

log-notices

0xffffffff;

Sets the verbose level for

log-verbose (when set to non-zero,

 

 

driver notices to the system

verbose messages are generated.)

 

 

log file.

Default = Disabled

 

 

 

log-warnings

0xffffffff;

Sets the verbose level for

 

 

 

driver warnings to the

 

 

 

system log file.

 

 

 

 

 

log-errors

0xffffffff;

Sets the verbose level for

 

 

 

driver errors to the system

 

 

 

log file.

 

 

 

 

 

Table 8 lists the types of log messages that can be logged to the system file.

Table 8: Log Message Types

LOG Message Verbose

Verbose Bit

Verbose Description

Mask

 

 

 

 

 

 

 

 

 

LOG_MISC

0x00000001

Miscellaneous events

 

 

 

LOG_DRIVER

0x00000002

Driver attach and detach events

 

 

 

LOG_INIT

0x00000004

HBA Initialization events

 

 

 

LOG_MEM

0x00000008

Memory management events

 

 

 

LOG_SLI

0x00000010

Service Level Interface (SLI) events

 

 

 

LOG_MBOX

0x00000020

Mailbox events

 

 

 

LOG_NODE

0x00000040

Node events

 

 

 

LOG_LINK

0x00000080

Link events

 

 

 

LOG_ELS

0x00000100

ELS events

 

 

 

LOG_PKT

0x00000200

General I/O packet events

 

 

 

Solaris SFS Driver User Manual

Page 139

Page 146
Image 146
Emulex LP1150-F4 user manual Introduction, Log Message Types