[pacman-dev] scritplet output logging removed?

Dan McGee dpmcgee at gmail.com
Thu Oct 18 11:49:01 EDT 2007


On 10/18/07, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> On 10/18/07, Dan McGee <dpmcgee at gmail.com> wrote:
> > On 10/18/07, Xavier <shiningxc at gmail.com> wrote:
> > > I just saw this was removed by commit ad691001e :
> > > "Remove scriptlet START and DONE commands that we don't use"
> > >
> > > Since the comment doesn't mention the logging, I just want to make sure this
> > > was intended and not overlooked.
> >
> > Hmm, another good catch. It looks like I did remove the logging
> > unintentionally. I guess we need to incorporate that back in.
> >
> > HOWEVER, I'd like to hear opinions on this. I always thought it was a
> > dirty hack to throw this stuff to pacman.log, which previously was a
> > very clean and machine-parseable log file. Its now a big steaming pile
> > of crap, in my opinion. I propose that we log these messages to a
> > separate file, with some date stamps incorporated. Any objections?
>
> Yes, great idea.
>
> What about putting it in the local DB entry for each package?
> /var/lib/pacman/local/screen/install.log ?

We still need an "easy to find" way of looking at these messages, and
I don't think putting it there would satisfy that constraint (although
it does make sense). Telling someone to look at more than one file
wouldn't be too simple.

-Dan




More information about the pacman-dev mailing list