[Yum] logging and error logging
dawson at fnal.gov
Wed Jun 12 20:47:06 UTC 2002
Michael Stenner wrote:
> On Wed, Jun 12, 2002 at 04:22:09PM -0400, seth vidal wrote:
>>logging will soon be like this:
>>yum -d 0-1 == nothing, only serious errors that cause an exit
>>yum -d 2 == standard output - just informational messages, questions,
>>yum -d 3+ == debug - gratuitous output - increasing as the number
>>error logs would always get printed and file (syslog-style) logs would
>>also always occur.
>>the -d # would only affect output and debug logs.
> Let me see if I get this.
> 1) -d # has no effect on what's printed to the log file
> 2) -d # has no effect on the printing of errors (they're always
> printed to stdout or stderr)
> 3) -d # only effects HOW MUCH stuff gets printed to stdout/stderr
> Is that right? If so, it sounds good to me.
> I take it the default is 2 and -d 0 is for things like cron jobs?
> Is there a difference between 0 and 1?
What I would like to see is the cronjob output only occurs if something was
updated or installed. So what if you did
yum -d 0 == nothing, only serious errors that cause an exit
yum -d 1 == nothing unless something happens, or serious errors that cause an exit
Beyond that, I think it looks ok.
Troy Dawson dawson at fnal.gov (630)840-6468
Fermilab ComputingDivision/OSS CSI Group
More information about the Yum