From 138ec72d1ac991f70d91bf524c2978ecee75fad5 Mon Sep 17 00:00:00 2001 From: Jacob Henry Date: Sun, 10 Mar 2019 03:16:17 -0400 Subject: [PATCH] Toned down logging amt --- plugins/management_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/management_commands.py b/plugins/management_commands.py index 1eb1373..d82bec2 100644 --- a/plugins/management_commands.py +++ b/plugins/management_commands.py @@ -15,8 +15,8 @@ async def reboot_callback(event: slack_util.Event, match: Match) -> None: async def post_log_callback(event: slack_util.Event, match: Match) -> None: - # Get the last 500 lines of log of the specified severity or higher - count = 500 + # Get the last n lines of log of the specified severity or higher + count = 100 lines = [] # numerically rank the debug severity