
Command Reference
64
HP StorageWorks NAS 8000 Command Reference
getSystemLogEntryProgramName
Returns the name of the program that created the log entry.
■
inParam[0] = Log entry handle
■
outParam[0] = Log entry program name
getSystemLogEntrySeverity
Returns the severity level associated with the specified log entry.
■
inParam[0] = Log entry handle
■
outParam[0] = Log entry severity
Values:
■
E = Error
■
W = Warn
■
I = Info
■
U = Unknown
getSystemLogEntryTimestamp
Returns the time that the event triggering the specified log entry occurred.
■
inParam[0] = Log entry handle
■
inParam[1] = Optional format string
■
outParam[0] = Log entry date/time
Default format is “%m/%d/%Y %T”.
■
%c - TIME & DATE for locale
■
%x - DATE for locale
■
%X - TIME for locale
■
%r - Time am/pm (exact format may change with locale)
■
%R - %H:%M
■
%T - %H:%M:%S (24 hour)
■
%D - %m/%d/%y - (United States specific format)
■
outParam[0] = Time [HH:MM:SS]
appendSystemLogEntry
Adds the specified entry to the system log.
■
inParam[0] = Severity
■
inParam[1:N] = Log message
Valid severity values:
■
0 = Error, E
■
1 = Warning, W
■
2 = Info, I