Skip Menu |

This queue is for tickets about the File-Rsync-Mirror-Recent CPAN distribution.

Report information
The Basics
Id: 67668
Status: patched
Priority: 0/
Queue: File-Rsync-Mirror-Recent

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Add verbose/quiet switch to rrr-client
rrr-client always sets verbose => 1 - it'd be nice to be able to turn that off sometimes.
Subject: Re: [rt.cpan.org #67668] AutoReply: Add verbose/quiet switch to rrr-client
Date: Thu, 21 Apr 2011 14:40:31 -0300
To: bug-File-Rsync-Mirror-Recent [...] rt.cpan.org
From: Mike Doherty <doherty [...] cs.dal.ca>
This patch should do as described. -Mike

Message body is not shown because sender requested not to inline it.

On Thu Apr 21 13:17:53 2011, DOHERTY wrote: Show quoted text
> rrr-client always sets verbose => 1 - it'd be nice to be able to turn > that off sometimes.
Hi Mike, Wouldn't it make sense if it defaulted to quiet(er) (only show errors and actual updates?) and maybe had a --verbose option to make it noisy (as it is now) and a --silent option to make it really quiet (only show errors). Andreas has a git repository on git://repo.or.cz/rersyncrecent and I have a clone at https://github.com/abh/rersyncrecent
Subject: Re: [rt.cpan.org #67668] Add verbose/quiet switch to rrr-client
Date: Tue, 10 May 2011 02:28:38 -0300
To: bug-File-Rsync-Mirror-Recent [...] rt.cpan.org
From: Mike Doherty <doherty [...] cs.dal.ca>
On 11-05-10 02:17 AM, ABH via RT wrote: Show quoted text
> Hi Mike, > > Wouldn't it make sense if it defaulted to quiet(er) (only show errors and actual updates?) and > maybe had a --verbose option to make it noisy (as it is now) and a --silent option to make it > really quiet (only show errors). > > Andreas has a git repository on git://repo.or.cz/rersyncrecent and I have a clone at > https://github.com/abh/rersyncrecent
I assume patches are welcome :) -Mike
In the repo and the upcoming 0.2.0 I have now made --verbose an option that defaults to 0. Thanks for bringing this up. I think --verbose should not be true by default under usual circumstances. We just had it always on because we were in permanent debugging mode. This phase should be over by now.
Subject: [rt.cpan.org #67668] add complementary --verboselog option
Date: Tue, 17 May 2011 10:32:40 +0300
To: bug-File-Rsync-Mirror-Recent [...] rt.cpan.org
From: Mitry Matyushkov <i.mitry [...] gmail.com>
Andreas, I think it is wise to add --verboselog option as a complement to --verbose: =item B<--verboselog=s> Path to the logfile to write verbose progress information to. =back and: verbose => $Opt{verbose}, ($Opt{verboselog} ? (verboselog => $Opt{verboselog}) : ()), Personally, I prefer to see what's going on with 'less'/'tail -f' even if script runs as a daemon without terminal attached. Regards, Mitry.
Thanks, it's in the repo now