Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Added a log tree function
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 8, 2016
1 parent 4019b29 commit 320383f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions loggtee
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

LOGFILE=$1
LOGTAG=$2
LOGPORT=$3

/usr/bin/tee -a $LOGFILE | /usr/bin/logger -t$LOGTAG -p$LOGPORT

0 comments on commit 320383f

Please sign in to comment.