aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-log
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-log')
-rwxr-xr-xbin/ak-log6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ak-log b/bin/ak-log
index 543d8ee..f1c1391 100755
--- a/bin/ak-log
+++ b/bin/ak-log
@@ -35,8 +35,9 @@ PROGRAM=$(basename $0)
descriptionString="Log file handler"
# At least these
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_script
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
# Your stuff here...
example(){
@@ -48,6 +49,7 @@ if [ ! -z $1 ]; then
case $1 in
-h | --help) _ak_usage; exit;;
-f | --follow) _ak_log_follow; exit;;
+ -l | --last) _ak_log_last_line; exit;;
-g | --grep) _ak_log_grep; exit;;
-m | --message) shift; _ak_log_message $*; exit;;
-r | --rotate) _ak_log_rotate; exit;;