Server logging and status in jGuru.com ### Logs Tracked: o paypal o ad shows o guest and user login in/out o pageviews o portal log o verbose portal-detail log o thread creation o search queries, o stdout has lots of continous print statements o trampoline for offsite links o db activity o downloads of software << $ tail /var/log/jguru/paypal/paypal-20020221.log 20020221_20.58.33(tcpConnection-80-2): subscr_date=20:58:31 Feb 21, 2002 PST, first_name=Terence, item_number=1, subscr_id=S-7RD09248186210458, amount3=0.01, amount1=0.00, reattempt=0, item_name=Level 1 Premium Membership, period3=1 M, txn_type=subscr_signup, verify_sign=AFX5pWAxWdO9I.VLIp2d2vcZM6q8ArYJGaH4f33aCrwq.ZBQvXNAAZN-, period1=2 W, payer_status=unverified, notify_version=1.3, receiver_email=subscriptions@jguru.com, payer_email=parrt@jguru.com, last_name=Parr, recurring=1 >> status: cache efficiency, memory usage, emailed panics ### Stats Collect stats from ad and pageview logs, email to root. << echo "ORACLE AD Views (splash)" for f in $AD_LOGDIR/ad-2003$MONTH*.log do echo -n `basename $f` ":" grep -i 'company=oracle' $f | grep -i 'loc=splash' | wc -l done echo "ORACLE AD Views (download)" for f in $PAGEVIEW_LOGDIR/pageview-2003$MONTH*.log do echo -n `basename $f` ":" grep -i '/download/index.jsp' $f | wc -l done >>