Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3


 

 Apache configuration

In the logs directory add a robots.txt

...

Edit /etc/httpd/conf/httpd.conf<-- conf  (Location may be different depending on OS)

Note: Change log location

Panel
Wiki Markupnoformat
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{User-Agent}i\" %T" combined

CustomLog

/home/sakaiqa/qa/sakai-demo-2.7.0-SNAPSHOT/logs/access_log

combined


ErrorLog

/home/sakaiqa/qa/sakai-demo-2.7.0-SNAPSHOT/logs/error_log


 Check the sanity of the changes and then stop/start service

Panel

/etc/init.d/httpd configtest
Syntax OK
/etc/init.d/htppd httpd stop
/etc/init.d/start

Installing a log analyser (http://www.analog.cx/)

Note: Example location of logfile and outfile only

sudo

apt-get

install

analog

edit

/etc/analog.cfg

Panel
Wiki Markup
No Format
APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{User-Agent}i\" %T)

LOGFILE

/home/alan/Desktop/test/access_log


OUTFILE

/home/alan/Desktop/test/qa1-nl_2.7.0.m1.html