summaryrefslogtreecommitdiffstats
path: root/auth/sample/logs
diff options
context:
space:
mode:
Diffstat (limited to 'auth/sample/logs')
-rw-r--r--auth/sample/logs/clean6
-rw-r--r--auth/sample/logs/taillog1
2 files changed, 7 insertions, 0 deletions
diff --git a/auth/sample/logs/clean b/auth/sample/logs/clean
new file mode 100644
index 00000000..e92e1bd3
--- /dev/null
+++ b/auth/sample/logs/clean
@@ -0,0 +1,6 @@
+for D in `find . -type d`; do
+ if [ "$D" != "./" ]; then
+ rm -f $D/*.log
+ fi
+done
+
diff --git a/auth/sample/logs/taillog b/auth/sample/logs/taillog
new file mode 100644
index 00000000..b4482d09
--- /dev/null
+++ b/auth/sample/logs/taillog
@@ -0,0 +1 @@
+tail -f `find . -name *service*.log -ctime 0`