[augeas-devel] Re: [Augeas] #80: [RFE] Please add a way to increase verbosity.

David Lutterkort lutter at redhat.com
Thu Jul 23 09:35:40 UTC 2009


On Mon, 2009-07-20 at 13:31 +0100, Richard W.M. Jones wrote:
> On Thu, Jul 16, 2009 at 12:58:07AM -0000, Augeas wrote:
> > #80: [RFE] Please add a way to increase verbosity.
> > --------------------------+-------------------------------------------------
> >   Reporter:  wakko666     |       Owner:  lutter
> >       Type:  enhancement  |      Status:  closed
> >   Priority:  major        |   Milestone:        
> >  Component:  Augeas       |     Version:        
> > Resolution:  invalid      |    Keywords:        
> > --------------------------+-------------------------------------------------
> > Changes (by lutter):
> > 
> >   * status:  new => closed
> >   * resolution:  => invalid
> > 
> > Comment:
> > 
> >  Since there is a lot that can go wrong all at once when you save, just
> >  dumping that on stdout/stderr by default is not very useful.
> > 
> >  Therefore, all error messages are stored in the tree, underneath /augeas.
> >  The best way to see them after something went wrong is to
> > 
> >  {{{
> >    augtool> print /augeas//error
> >  }}}
> > 
> >  (note the double '/' above - that's needed to find all error nodes
> >  underneath /augeas)
> 
> I would say that the error message should be changed from just "Saving
> failed" to something more informative, telling the user how to go
> about printing the errors.

Yes, that's a good suggestion - I'll add something to augtool to either
print some sort of help message the first time something goes wrong, or
do the 'print /augeas//error' automatically after an error.

David





More information about the augeas-devel mailing list