日志收集工具的使用示例

不加任何参数执行engine-log-collector时会自动收集OVIRT和信息。数据库日志也默认收集,除非加上项。下面使用日志收集工具的示例:

  1. # engine-log-collector
  2. INFO: Gathering oVirt Engine information...
  3. INFO: Gathering PostgreSQL the oVirt Engine database and log files from
  4. localhost...
  5. Please provide REST API password for the admin@internal oVirt Engine user
  6. (CTRL+D to abort):
  7. About to collect information from 3 hypervisors. Continue? (Y/n):
  8. INFO: Gathering information from selected hypervisors...
  9. INFO: collecting information from 192.168.122.250
  10. INFO: collecting information from 192.168.122.251
  11. INFO: collecting information from 192.168.122.252
  12. INFO: finished collecting information from 192.168.122.250
  13. INFO: finished collecting information from 192.168.122.251
  14. INFO: finished collecting information from 192.168.122.252
  15. Creating compressed archive...
  16. INFO Log files have been collected and placed in /tmp/sosreport-LogCollector-20140428171306.tar.xz.
  17. The MD5 for this file is be89822f20719d1094a39bc9ced3df49 and its size is 38.2M