Re: [master 6/6] logging: remove addLogger()

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/20/2010 08:22 AM, Ales Kozumplik wrote:
> it's not called from anywhere.
> ---
>  anaconda_log.py |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/anaconda_log.py b/anaconda_log.py
> index 27dcf40..2f48630 100644
> --- a/anaconda_log.py
> +++ b/anaconda_log.py
> @@ -126,12 +126,6 @@ class AnacondaLog:
>          autoSetLevel(logfileHandler, autoLevel)
>          addToLogger.addHandler(logfileHandler)
>  
> -    # Add another logger to the hierarchy.  For best results, make sure
> -    # name falls under anaconda in the tree.
> -    def addLogger (self, name, minLevel=DEFAULT_TTY_LEVEL):
> -        newLogger = logging.getLogger(name)
> -        newLogger.setLevel(minLevel)
> -
>      def forwardToSyslog(self, logger):
>          """Forward everything that goes in the logger to the syslog daemon.
>          """

Ack.

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS/V+tRF+jBaO/jp/AQKkJgf/RT33P3PwGd9WfOeJzB/ZnQ07brzQoTOD
IpIrKvYl9hnb1us1CY9l3KtQe7RRBE/3M9kZq8WcGC4zk46iyc+/oRXqrtGAFA/N
M8J6tOasxaK5Zr0rtUHl4dFp/5Ovfp69NMkObweBE1tQDTWDPdGWi6wI4k+KmPW1
P8zWEiXDx1iQ+lTEsePIBMYIWlUGxL5Ez/rzU7SFEcwekyr+NJET5Jbf1bDqlJr/
x6Tl1N4/8xkV2MjMkCqacvcZCYjSQh30pxmZnniTl4qM5OSWFjl2/vWGGIu7R5Tw
UfPboEZZwHrLRkcPtTztgk2hFbtHGwmDPEpyTfzQthGqHEKN2e3Epw==
=r4fV
-----END PGP SIGNATURE-----

_______________________________________________
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