mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 18:45:57 +00:00
Implement all MySQL log parsers. Add report sections, and --report.
This commit is contained in:
@@ -87,7 +87,12 @@ while ( my $sampleno = readdir $dh ) {
|
||||
$output,
|
||||
"$sample/$sampleno/$basename.txt",
|
||||
cmd_output => 1,
|
||||
($sed ? (sed => [ $sed ]) : ()),
|
||||
sed => [
|
||||
q{'s/File: .*/File: .../'},
|
||||
q{'s/ hostname: .*/ hostname: .../'},
|
||||
q{'s/ MySQL: .*/ MySQL: .../'},
|
||||
($sed ? $sed : ()),
|
||||
],
|
||||
),
|
||||
"$sampleno: $basename.txt"
|
||||
) or diag("\n\n---- DIFF ----\n\n", $test_diff,
|
||||
|
Reference in New Issue
Block a user