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

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



-----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 redhat com>
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-----


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