From 251dc634fa625e9afb60cb83b5bc5d9201007e50 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 30 Jun 2024 15:54:47 +0300 Subject: removed ak-log-{follow,grep,rotate} in favor of ak-log --- bin/ak-log-follow | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 bin/ak-log-follow (limited to 'bin/ak-log-follow') diff --git a/bin/ak-log-follow b/bin/ak-log-follow deleted file mode 100755 index 33e5587..0000000 --- a/bin/ak-log-follow +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -tail -f $AK_LOGSFILE | while read -r p || [ -n "$p" ] -do - timestamp="$(echo "$p" | awk '{print $1}')" - program="$(echo "$p" | awk '{print $2}')" - messagetype="$(echo "$p" | awk '{print $3}')" - message="$(echo "$p" | cut -d ' ' -f4-)" - printf '%s \033[1;32m%s\033[0;00m \033[1;31m%s\033[0;00m %s\n' \ - "$(date --date=@$timestamp +%Y%m%d_%H%M%S)" \ - "$program" \ - "$messagetype" \ - "$message" -done -- cgit v1.2.3