~ci-train-bot/ubuntu-system-image/system-image-ubuntu-wily-proposed

« back to all changes in this revision

Viewing changes to systemimage/logging.py

  • Committer: Barry Warsaw
  • Date: 2015-05-20 21:10:36 UTC
  • mfrom: (240.2.2 system-image)
  • Revision ID: barry@python.org-20150520211036-it6uoej3ai06fo5n
Manual train silo merge, required because of bot permission snafu

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2013-2014 Canonical Ltd.
 
1
# Copyright (C) 2013-2015 Canonical Ltd.
2
2
# Author: Barry Warsaw <barry@ubuntu.com>
3
3
 
4
4
# This program is free software: you can redistribute it and/or modify
80
80
def initialize(*, verbosity=0):
81
81
    """Initialize the loggers."""
82
82
    main, dbus = config.system.loglevel
83
 
    for name, loglevel in (('systemimage', main), ('systemimage.dbus', dbus)):
 
83
    for name, loglevel in (('systemimage', main),
 
84
                           ('systemimage.dbus', dbus),
 
85
                           ('dbus.proxies', dbus)):
84
86
        level = {
85
87
            0: logging.ERROR,
86
88
            1: logging.INFO,