[Openstack] [Swift] Drive Audit config file sample

Jonathan Lu jojokururu at gmail.com
Fri Oct 11 02:30:11 UTC 2013


Hi, stackers,
     Following the config tutorial 
(http://docs.openstack.org/trunk/openstack-config/content/drive-audit-conf.html), 
I create a drive_audit.conf file:

     [drive-audit]
     device_dir = /srv/node
     log_facility = LOG_LOCAL0
     log_level = INFO
     minutes = 60
     error_limit = 1
     log_file_pattern = /var/log/kern*
     regex_pattern_1 = \berror\b.*\b(dm-[0-9]{1,2}\d?)\b

     Can anyone give me some log examples in kernal.log which means 
drive failure so I can test whether the swift-drive-audit works?
     Thanks a lot.

Best Regards
Jonathan Lu




More information about the Openstack mailing list