3 #==========================================================
5 # File ID: 4647e9c2-5d46-11df-b57b-90e6ba3022ac
6 # tail -f på error_log til httpd(8).
7 #==========================================================
9 prefix
=`date -u +"%Y/*%Y-%m-%dZ.error_log"`
10 if [ -e /sunba.mrk
-o -e /svdbb.mrk
]; then
11 tail -f /var
/log
/apache
/error.log $
*
12 elif [ -e /carmbb.mrk
]; then
13 tail -f /var
/log
/apache
2/$prefix $
*
14 elif [ -e /grimme.mrk
-o -e /recbb.mrk
-o -e /toshbb.mrk
-o -e /ba0614.mrk
]; then
15 tail -f /var
/log
/httpd
/error_log $
*
16 elif [ -e /nett.mrk
]; then
17 if [ "$1" = "sunbase" -o "$1" = "sunbase.org" ]; then
19 tail -f /home
/badata
/wrt
/sunbase
/log
/httpd
/$prefix $
*
21 tail -f /mnt
/logs
/httpd
/$1/$prefix $
*
24 elif [ -e /nett2.mrk
]; then
26 /home
/badata
/wrt
/sunbase
/musthave.sunbase.org
/log
/httpd
/error_log \
27 /home
/badata
/wrt
/sunbase
/snadder.sunbase.org
/log
/httpd
/error_log \
28 /home
/badata
/wrt
/sunbase
/tmp.sunbase.org
/log
/httpd
/error_log \
29 /var
/log
/apache
/nett2.ba.no
/*error_log \
30 /var
/log
/apache
/nett2.ba.no
/$prefix $
*
31 elif [ -e $HOME/.petronas.mrk
]; then
32 tail -f /usr
/local
/apache
/logs
/error_log $
*
34 echo $0: Ukjent maskin
, kan ikke skrive ut error_log
>&2