Information
Includes the device ID in the logs generated
Rationale:
In an environment where logs are collected from many different sources, identifying the logs from a specific device is alleviated by doing a query including the device's hostname included in the logs and helps to quickly gather the expected results.
Solution
Run the following to enable logging with the device hostname:
hostname(config)#logging device-id hostname
In a multi-context security appliance, run the following command:
hostname(config)#logging device-id context-name