multiple issues when checking audit.log with xmllint
Bug #1320879 reported by
Sergei Glushchenko
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
lp:~sergei.glushchenko/percona-server/5.5-ps-bug1320879
- Laurynas Biveinis (community): Approve
-
Diff: 1258 lines (+664/-298)6 files modifiedmysql-test/include/audit_log_events.inc (+3/-1)
mysql-test/r/audit_log.result (+303/-145)
mysql-test/t/audit_log.test (+75/-21)
plugin/audit_log/audit_log.c (+239/-99)
plugin/audit_log/file_logger.c (+38/-29)
plugin/audit_log/logger.h (+6/-3)
Superseded
for merging
into
lp:percona-server/5.6
- Laurynas Biveinis (community): Needs Resubmitting
lp:~sergei.glushchenko/percona-server/5.6-ps-bug1320879
- Laurynas Biveinis (community): Approve
-
Diff: 1258 lines (+664/-298)6 files modifiedmysql-test/include/audit_log_events.inc (+3/-1)
mysql-test/r/audit_log.result (+303/-145)
mysql-test/t/audit_log.test (+75/-21)
plugin/audit_log/audit_log.c (+239/-99)
plugin/audit_log/file_logger.c (+38/-29)
plugin/audit_log/logger.h (+6/-3)
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-1502