pt-query-digest progress is hard to disable

Bug #1035344 reported by Baron Schwartz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Confirmed
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

Revision history for this message
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
Revision history for this message
Baron Schwartz (baron-xaprb) wrote : Re: [Bug 1035344] Re: pt-query-digest progress is hard to disable

I think adding --quiet would be fine.

Changed in percona-toolkit:
milestone: none → 2.2.5
importance: Undecided → Medium
Changed in percona-toolkit:
milestone: 2.2.5 → none
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/PT-566

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.