[ofa-general] Re: OpenSM error codes in a log file

Hal Rosenstock hrosenstock at xsigo.com
Mon Nov 26 13:23:09 PST 2007


On Mon, 2007-11-26 at 21:28 +0000, Sasha Khapyorsky wrote:
> Hi!
> 
> OpenSM when logging an errors uses error code in a log message. Like
> this:
> 
> 	osm_log(p_log, OSM_LOG_ERROR,
> 		"__updn_bfs_by_node (less) ERR AA01: " ...
> 					       ^^^^
> This is the old convention, first two digits (AA in this example) are
> unique per source file, the next two are sequential number of an error
> in this file.
> 
> I wanted to know if anybody uses those error codes. If not, are there
> any plans for using this?
> 
> IOW should we spend the time and maintain this?

FWIW, even if no one comes forward with a log parser, I think they are
useful and should continue to be maintained.

-- Hal

> 
> Sasha



More information about the general mailing list