Re: [master 2/2] introduce loglevel flag and use it in yum's tty3 logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Can you get the loglevel here by doing something other than introducing
a new flag?

- Chris

Options are:

1) Put the information in the anaconda_log.logger object.
2) Put it in installdata --- but that's out of question since you are going to remove it. 3) Put it in flags, so loglevel gets to be handled in the same way like other stuff in opts. Why exactly do you object, is it because you want to remove flags too? 4) I could also take a look into flags.cmdline to see if loglevel is there and then map it into logging's loglevel and then use, like we do in setupLoggingFromOpts. I think in that case I would introduce a method to do that in anconda_log, but that would create anaconda_log -> flags dependency.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux