From 5548cfd6a85b6b428f3552dca38c2537bcd614de Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Thu, 4 Sep 2014 13:26:32 -0400 Subject: [PATCH] Silence noisy supervisor tasks, adjust log rotation frequency for all supervisor tasks --- awx/main/management/commands/run_callback_receiver.py | 1 - awx/main/management/commands/run_task_system.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/awx/main/management/commands/run_callback_receiver.py b/awx/main/management/commands/run_callback_receiver.py index a73983b917..677cee5b40 100644 --- a/awx/main/management/commands/run_callback_receiver.py +++ b/awx/main/management/commands/run_callback_receiver.py @@ -156,7 +156,6 @@ class CallbackReceiver(object): try: if event == 'playbook_on_stats': transaction.commit() - print data if verbose == 0 and 'res' in data['event_data'] and 'invocation' in data['event_data']['res'] and \ 'module_args' in data['event_data']['res']['invocation']: data['event_data']['res']['invocation']['module_args'] = "" diff --git a/awx/main/management/commands/run_task_system.py b/awx/main/management/commands/run_task_system.py index 3771b80d72..6184e796bd 100644 --- a/awx/main/management/commands/run_task_system.py +++ b/awx/main/management/commands/run_task_system.py @@ -199,19 +199,15 @@ def rebuild_graph(message): # Rebuild graph graph = SimpleDAG() for task in running_tasks: - print("Adding running task: %s to graph" % str(task)) graph.add_node(task) - print("Waiting Tasks: %s" % str(waiting_tasks)) for wait_task in waiting_tasks: node_dependencies = [] for node in graph: if wait_task.is_blocked_by(node['node_object']): - print("Waiting task %s is blocked by %s" % (str(wait_task), node['node_object'])) node_dependencies.append(node['node_object']) graph.add_node(wait_task) for dependency in node_dependencies: graph.add_edge(wait_task, dependency) - print("Graph Edges: %s" % str(graph.edges)) if settings.DEBUG: graph.generate_graphviz_plot() return graph