pt-query-digest progress is hard to disable

Reported by Baron Schwartz on 2012-08-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit
Medium
Unassigned

Bug Description

pt-query-digest's --progress option is hard to silence for use in cron jobs where output is undesired. The following disables the progress output:

--progress=''

But it doesn't disable this warning, which apparently comes from Getopt::Long:

 Option progress requires an argument

So the only way to avoid output in my cron job is a workaround such as this:

--progress=time,1000000

Daniel Nichter (daniel-nichter) wrote :

--progress=none? or add --quiet to pqd?

tags: added: progress pt-query-digest
Changed in percona-toolkit:
status: New → Confirmed
Changed in percona-toolkit:
milestone: none → 2.2.5
importance: Undecided → Medium
Changed in percona-toolkit:
milestone: 2.2.5 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers