diff options
author | keis <keijser@gmail.com> | 2011-06-04 12:14:02 +0200 |
---|---|---|
committer | keis <keijser@gmail.com> | 2011-06-04 12:14:02 +0200 |
commit | ad544637823e5ec58d9680e0af8980903f0afdfd (patch) | |
tree | b56ae0642b674b98c90c0d5f1d92c12ca0c689a4 | |
parent | e48f3ca7de9ff20559506e2bae08fd860a3984b9 (diff) |
remove all uses of get_logger
-rwxr-xr-x | bin/uzbl-event-manager | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/uzbl-event-manager b/bin/uzbl-event-manager index 4b3e976..a2f1c7e 100755 --- a/bin/uzbl-event-manager +++ b/bin/uzbl-event-manager @@ -189,7 +189,7 @@ class Plugin(object): self.name = name self.path = path self.plugin = plugin - self.logger = get_logger('plugin.%s' % name) + self.logger = logging.getLogger('plugin.%s' % name) # Weakrefs to all handlers created by this plugin self.handlers = set([]) @@ -326,7 +326,7 @@ class Uzbl(object): self.instance_start = False # Use name "unknown" until name is discovered. - self.logger = get_logger('uzbl-instance[]') + self.logger = logging.getLogger('uzbl-instance[]') # Track plugin event handlers and exported functions. self.exports = {} @@ -442,7 +442,7 @@ class Uzbl(object): assert name and event, 'event string missing elements' if not self.name: self.name = name - self.logger = get_logger('uzbl-instance%s' % name) + self.logger = logging.getLogger('uzbl-instance%s' % name) self.logger.info('found instance name %r' % name) assert self.name == name, 'instance name mismatch' |