jerakeen.org

where Tom Insam writes

  • recent activity
  • blog
  • code
  • links
  • photos
  • everything
  • search:

« earlier in links (Operator :: Firefox Add-ons)

later in links (Social Graph API Demo - Site Connectivity) »

Putting the mongrel port number in your logfile filename

01 July 2008 in links
tagged with [mongrel] [rails] [ruby] [sysadmin] (edit)

By default mongrels all log into a single logfile. This makes debugging a complete pain. Putting the process PID into the filename is easy, but getting the current mongrel process’ allocated port is slightly harder.

http://pastie.org/169850

 

 

copyright © Tom Insam | about me | full atom feed