use target host as key for logger

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent b8a3cf2f49
commit dc21405583
  1. 2
      lib/cdist/context.py

@ -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

Loading…
Cancel
Save