# Mongrel process specific logging

**URL:** <https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669>\
**Category:** Deployment\
**Created:** [June 1, 2007, 6:54am UTC](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669 "2007-06-01T06:54:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [June 1, 2007, 6:54am UTC](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669/1 "2007-06-01T06:54:52Z")

</div>

All,

I have a client who has deployed an app. against 3 Mongrel processes. I  
have not been involved in the deployment at all, so if these question  
are naive, I apologize in advance.

1. Are there Mongrel process-specific log files that are written to by  
each Mongrel process?

2. I suspect the answer to #1 is no and that all of the Mongrel  
processes just write to the same production.log file. Is there a way to  
identify which Mongrel process is servicing a given request recorded in  
production.log?

Thanks,  
Wes

---

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [June 4, 2007, 2:36am UTC](https://www.ruby-forum.com/t/mongrel-process-specific-logging/105669/2 "2007-06-04T02:36:19Z")

</div>

Newbie here too, but maybe starting Mongrel with -l option might help to  
redirect the log file. This page lists the start up options you can use  
[http://mongrel.rubyforge.org/docs/howto.html](http://mongrel.rubyforge.org/docs/howto.html)

However I’m having a similar problem, but as my environment is Windows  
the log option is not supported. Does anyone know of an alternative, or  
can I obtain the listening port from Rails so that I can override  
config.log\_path with a derived filename?
