Ejemplo n.º 1
0
def logaudit_host(confdir, oldest, show_content, show_system_logs,
                  dirsizes, depth,
                  to_check, ignore_also,
                  maxfiles):
    lauditor = LocalLogsAuditor('logs', confdir, oldest, show_content,
                                show_system_logs,
                                dirsizes, depth, to_check,
                                ignore_also, maxfiles)
    result = lauditor.do_local_audit()
    return result
Ejemplo n.º 2
0
 def get_local_auditor(self):
     return LocalLogsAuditor(self.audit_type, self.confdir,
                             self.oldest_only, self.show_system_logs,
                             self.show_sample_content, self.dirsizes,
                             self.depth, self.to_check, self.ignore_also,
                             self.max_files)