diff options
Diffstat (limited to 'auth/sample/logs')
-rw-r--r-- | auth/sample/logs/clean | 1 | ||||
-rw-r--r-- | auth/sample/logs/taillog | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/auth/sample/logs/clean b/auth/sample/logs/clean index e92e1bd3..7d5152b9 100644 --- a/auth/sample/logs/clean +++ b/auth/sample/logs/clean @@ -1,3 +1,4 @@ +cd /opt/app/osaaf/logs for D in `find . -type d`; do if [ "$D" != "./" ]; then rm -f $D/*.log diff --git a/auth/sample/logs/taillog b/auth/sample/logs/taillog index b4482d09..2b3de6e5 100644 --- a/auth/sample/logs/taillog +++ b/auth/sample/logs/taillog @@ -1 +1,2 @@ +cd /opt/app/osaaf/logs tail -f `find . -name *service*.log -ctime 0` |