[master][PATCH] Put yum_lock logging to a separate file and just attach it
Vratislav Podzimek
vpodzime at redhat.com
Fri Nov 15 16:23:46 UTC 2013
On Fri, 2013-11-15 at 09:48 -0500, Chris Lumens wrote:
> > In some cases, yum_lock logs may grow to megabytes (especially with slow
> > Internet connection) which makes anaconda-tb file generation take at least tens
> > of seconds (i. e. it takes tens of seconds for the exception dialog to appear)
> > and the resulting file is so big that it is considered a binary attachement by
> > libreport/bugzilla.
> >
> > This change makes exception dialog appear in a few seconds with the anaconda-tb
> > size reduced to hundreds of kilobytes.
>
> Ugh, that's not good.
>
> I don't really like generating another file, though, and not having the
> logging info interleaved with the rest of the packaging output is going
> to make it less useful. What if we only do the logging if inst.debug is
> passed on the command line? We still have that flag, and we're not
> using it for anything.
Works for me, that would be even better and useful in more places. Will
send a patch on that on Monday.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list