Use this command to view and manage device logging. If required, filter by device ID or ADOM.
diagnose log device [device-id] [adom-name | all]