use target host as key for logger

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-11 16:26:01 +02:00
parent b8a3cf2f49
commit dc21405583
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Context:
self.exec_path = exec_path
# Context logging
self.log = logging.getLogger(__name__)
self.log = logging.getLogger(self.target_host)
self.log.addFilter(self)
# Base and Temp Base