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