Skip Menu |
 

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 29941
Status: open
Priority: 0/
Queue: CPAN

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

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



CC: DAGOLDEN [...] cpan.org
Subject: Collect output in separate logfiles?
Download (untitled) / with headers
text/plain 352b
Mark Overmeer would like to know if we can collect CPAN.pm output in one or more logfiles and remaining silent to the user until we have our OK or NOT OK. I thought that CPAN::Reporter could probably help me in collecting and hiding output and the YAML statefiles could be used to store them. Could provide an interesting alternative user experience.
Subject: Re: [rt.cpan.org #29941] Collect output in separate logfiles?
Date: Fri, 12 Oct 2007 03:20:00 -0400
To: bug-CPAN [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
Download (untitled) / with headers
text/plain 981b
On 10/11/07, Andreas Koenig via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> Mark Overmeer would like to know if we can collect CPAN.pm output in one > or more logfiles and remaining silent to the user until we have our OK > or NOT OK. > > I thought that CPAN::Reporter could probably help me in collecting and > hiding output and the YAML statefiles could be used to store them. > > Could provide an interesting alternative user experience.
I think that Mark was asking about less verbose output from $CPAN::Frontend -- perhaps there needs to be a config option for how noisy/quiet CPAN is. Possibly we could replace "mywarn" and "myprint" with something like the syslog levels: debug, info, notice, warning, err, etc., and users could set their threshold for information. Much of what today goes to myprint could just be info, but with a few messages about overall command success or failure being notice. Many of the current mywarn() would be warning level, with a few err or higher.
From: MARKOV [...] cpan.org
Download (untitled) / with headers
text/plain 545b
Show quoted text
> I think that Mark was asking about less verbose output from > $CPAN::Frontend -- perhaps there needs to be a config option for how > noisy/quiet CPAN is.
Maybe, about what is shown interactively... but I would like to have all installation information is a log-file (to be kept as long as the module is on the system) Show quoted text
> Possibly we could replace "mywarn" and "myprint" > with something like the syslog levels: debug, info, notice, warning, > err, etc., and users could set their threshold for information.
Have a look at Log::Report :-b


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.