Fortinet black logo

CLI Reference

log device

log device

Use this command to view and manage device logging. If required, filter by device ID or ADOM.

Syntax

diagnose log device [<device-id> | adom] [adom-name | all | *]

Variable

Description

[<device-id> | adom]

Optionally filter by device ID or ADOM.

[adom-name | all | *]

Optionalyl filter by ADOM name when filtering by ADOM.

log device

Use this command to view and manage device logging. If required, filter by device ID or ADOM.

Syntax

diagnose log device [<device-id> | adom] [adom-name | all | *]

Variable

Description

[<device-id> | adom]

Optionally filter by device ID or ADOM.

[adom-name | all | *]

Optionalyl filter by ADOM name when filtering by ADOM.