added helpful messaging using profile sql

This commit is contained in:
Gabe Muniz 2020-07-29 12:48:01 -04:00
parent b009b01251
commit 9b06fb1e6a

View File

@ -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/."
)