[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RaQ3i] - CustomLog/TransferLog/CustomLog additions?
- Subject: [cobalt-users] [RaQ3i] - CustomLog/TransferLog/CustomLog additions?
- From: Theodore Jones <theoj@xxxxxxxxxxxxx>
- Date: Mon Oct 2 13:36:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hey all,
I need to customize my logging a bit on our company's server and wanted
to run this by
any "experts" out there on appache log-file direcitives and the RaQ3i.
In my present httpd.conf fine I have :
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# The location of the access logfile (Common Logfile Format).
# If this does not start with /, ServerRoot is prepended to it.
CustomLog /var/log/httpd/access combined
(which is located near top of file)
Then, in a lower-portion VirtualHost directive I have one "CustomLog"
directive (feeding output to a site-access monitoring cgi process)
and two RewriteCond statements relating to this CustomLog directive.
These new statements work fine and dandy,
but have the effect of taking out normal access-log entries for this
entire site/ip VirtualHost from the main acccess log where all of
my other sites are logging access to by Cobalt's defaul configuration.
So, the effect of the addition of the log-directives into my VirtualHost
field was to overide the "global" configuration done at the top of the
httpd.conf file .
I am wondering what kind of directive I now need to put back into this
very VirtualHost directive to get it to log identical information to
both the new cgi-script and the old /home/log/httpd/access file. Can
somone possibly explain the diifferences between CustomLog and Transfer
log say, and which would be the proper one to utilize in a case like
this? Could anyone offer an actual set of lines they have used in a
case like this?
Thanks Sincerely in Advance,
~ Theo