From 9b06fb1e6a4e1ebed0083120ab0d2d80059fc468 Mon Sep 17 00:00:00 2001 From: Gabe Muniz Date: Wed, 29 Jul 2020 12:48:01 -0400 Subject: [PATCH] added helpful messaging using profile sql --- awx/main/management/commands/profile_sql.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/main/management/commands/profile_sql.py b/awx/main/management/commands/profile_sql.py index bbcf10dd27..37f6658901 100644 --- a/awx/main/management/commands/profile_sql.py +++ b/awx/main/management/commands/profile_sql.py @@ -19,3 +19,7 @@ class Command(BaseCommand): profile_sql.delay( threshold=options['threshold'], minutes=options['minutes'] ) + print(f"Logging initiated with a threshold of {options['threshold']} second(s) and a duration of" + f" {options['minutes']} minute(s), any queries that meet criteria can" + f" be found in /var/log/tower/profile/." + )