cmwlogger
NAME
cmwlogger - analyzes httpd access log and stores info in Communiware database
SYNOPSIS
CustomLog ``|/usr/local/communiware/cmwlogger'' ``%s %{%Y.%m.%d %H.%M.%S}t %v %U''
in your httpd.conf
DESCRIPTION
cmwlogger parses your httpd access log from STDIN, extracts information about accesses to Communiware items and stores them into Communiware database. It does not accepts 'common' access log format, but uses the one described above. This format includes following fields:
-
HTTP response status
date in YYYY.MM.DD format
time in HH.MM.SS format
host name
path part of served URL.
Information is stored in table ITEM_STAT with following structure:
ITEM_ID VARCHAR(20) FOREIGN KEY REFERENCES ITEM(ITEM_ID) HOUR DATE, HITCOUNT NUMBER
i.e, only totals per each astronomic hour are logged
Only accesses with status codes 200 (OK) 304 (Not Modified) and 302 (Redirect) are logged.
See http://your.server/default/stat_doc for info how to access this information from the Communiware templates
OPTIONS
- -c config file
- Specifies alternate Communiware config file to use
- -f file
- Specifies filename to copy input to. Useful when cmwlogger is invoked from httpd.conf and you wish to keep information about accesses to non-Communware pages, as well as access failure records.
- -v
- Verbose mode - display time of currently processed request on STDERR