On Feb 5, 2008 5:19 PM, David Vrensk <[EMAIL PROTECTED]> wrote:

> Not 100 % sure I see what you're looking for, but anyway: In my
> out-of-the-box setup, my three mongrelled rails instances all write to
> log/production.log.

On Feb 5, 2008 5:24 PM, Kirk Haines <[EMAIL PROTECTED]> wrote:

> Are you talking about the mongrel log itself (which usually doesn't
> accumulate much), or your application's log?
>
> With as little as Mongrel itself writes, I wouldn't see any
> significant problem in just having all of your mongrels write to the
> same file, personally.

Thanks for the quick replies. With a mongrel_cluster config file like this:

user: root
log_file: /path/to/app/log/dir/mongrel.log
port: "8000"
environment: production
group: apache
address: 127.0.0.1
servers: 8
...

I end up with these log files:

mongrel.8000.log
mongrel.8001.log
mongrel.8002.log
mongrel.8003.log
mongrel.8004.log
mongrel.8005.log
mongrel.8006.log
mongrel.8007.log

With, as has been stated, very little written to each, and the
application logging going to production.log.

It would be nice if I could keep things tidier and have just one mongrel.log

Thanks!
John


-- 
John Joseph Bachir
http://blog.johnjosephbachir.org
http://lyceum.ibiblio.org
http://dissent.cc
http://jjb.cc
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to