Comlog
All module SMCs include a comlog system for writing and saving console log messages. When enabled, the comlog saves log messages in a local comlog file. Log messages include all local host console messages including BIOS boot up messages. In the comlog these messages include the following headers:
Header | Cause |
---|---|
\n--- COMLOG SYSTEM BOOT: YYYY/MM/DD hh:mm:ss ---\n | The module is starting up after being powered on or reset. |
\n--- COMLOG DISABLED: YYYY/MM/DD hh:mm:ss ---\n | Logging is disabled. |
\n--- COMLOG ENABLED: YYYY/MM/DD hh:mm:ss ---\n | Logging is enabled |
\n--- COMLOG TIME: YYYY/MM/DD hh:mm:ss ---\n | This message is written every hour when the module is powered on and logging is enabled. |
The following comlog-related CLI commands are available:
Description | SMC CLI Commands | IPMI commands |
---|---|---|
Display comlog information. Available on the passive module. |
comlog getinfo
|
|
Display a module's comlog. Available on the passive module. |
comlog getinfo <slot>
|
fortinetoem comlog getinfo
|
Clear a module's comlog. Either by resetting the a comlog start location in flash (reset_loc) or erasing all of the flash storage (chip_erase). Available on the passive module. |
comlog clear [reset_loc] [chip_erase]
|
fortinetoem comlog clear
|
Disable a module's comlog. Available on the passive module. |
comlog disable
|
fortinetoem comlog clear
|
Enable comlog. Available on the passive module. |
comlog enable
|
fortinetoem comlog clear
|
Set comlog baud rate. <speed> can be 9600, 19200, 38400,57600, 115200, or expressed as level 1 to 4. Available on the passive module. |
comlog setbaud <speed>
|
fortinetoem comlog setbaud <speed>
|