multiple issues when checking audit.log with xmllint

Bug #1320879 reported by Sergei Glushchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Sergei Glushchenko
5.5
Fix Released
Medium
Sergei Glushchenko
5.6
Fix Released
Medium
Sergei Glushchenko

Bug Description

xmllint data/audit.log
data/audit.log:2: parser error : error parsing attribute name
  "NAME"="Audit"
  ^
data/audit.log:2: parser error : attributes construct error
  "NAME"="Audit"
  ^
data/audit.log:2: parser error : Couldn't find end of Start Tag AUDIT_RECORD line 1
  "NAME"="Audit"
  ^
data/audit.log:2: parser error : Extra content at the end of the document
  "NAME"="Audit"
  ^

This is likely also a resin why mysqlauditgrep does not work with logs generated by plugin.

Also would be nice to have xmllint checks as a part of test case.

Related branches

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1502

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.