implement log server to capture nested logging output
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
eba3d0505b
commit
6e9e9ad557
3 changed files with 89 additions and 13 deletions
|
|
@ -116,6 +116,10 @@ class Code(object):
|
|||
if dry_run:
|
||||
self.env['__cdist_dry_run'] = '1'
|
||||
|
||||
if '__cdist_log_server_socket_to_export' in os.environ:
|
||||
self.env['__cdist_log_server_socket'] = os.environ['__cdist_log_server_socket_to_export']
|
||||
|
||||
|
||||
def _run_gencode(self, cdist_object, which):
|
||||
cdist_type = cdist_object.cdist_type
|
||||
script = os.path.join(self.local.type_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue