Mongrel logging config


#1

Hi, how do i enable http request logging in mongrel, when there’s
nothing sitting in front of mongrel (ie, all http requests hit mongrel
directly) ??

I’m using mongrel_rails to start up mongrel (a cluster of 1). The ps
line looks like:

build 15170 1 0 Feb10 ? 00:00:23 /usr/bin/ruby1.8
/usr/bin/mongrel_rails start -d -e dev1 -c /data/pangaea/current -r
public --user build --group build -p 3000 -P
/data/pangaea/pid/mongrel.3000.pid -l /data/pangaea/log/mongrel.3000.log

The mongrel_cluster.yml file looks like:

===================

port: 3000
servers: 1
docroot: public
environment: dev1
cwd: /data/pangaea/current
log_file: /data/pangaea/log/mongrel.log
pid_file: /data/pangaea/pid/mongrel.pid
user: build
group: build

=================
The mongrel.log file is not showing each http request; it in fact
doesn’t seem to show much.

Thanks.