Tim Lucas on Logging Rails to SysLog with SyslogLogger
Eric Hodel | Wed, 06 Jun 2007 21:09:02 GMT
Tim on switching to SyslogLogger and Production Log Analyzer:
One of the benefits of switching your Rails app to use SysLog is taking advantage of your OS’s system-wide logging, as well as having finer grained control over how to process your log messages. For example, you can split the logs up based on Rails app, mongrel process, or even by app server if you’re using remote syslog.
[...]
...and now we’re using SysLog we can use Eric’s other tool, ProductionLogAnalyzer, to identify performance bottleknecks of our application. Geoffrey Grosenbach (aka topfunky) wrote a Hodel3000CompliantLogger if you want to use this tool without SysLog).
— Logging Rails to SysLog with SyslogLogger via tech on toolmantim.com
ar_mailer version 1.2.0 has been released!
Eric Hodel | Tue, 05 Jun 2007 22:28:52 GMT
Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar_mailer allows you to store messages into the database for later delivery by a separate process, ar_sendmail.
sudo gem install ar_mailer
Changes:
1.2.0
- Bugs fixed
- Handle SMTPServerBusy by backing off @delay seconds then re-queueing
- Allow email delivery class to be set in ARMailer.
- ar_sendmail—mailq works with—table-name now.
- Miscellaneous Updates
- Added documentation to require ‘action_mailer/ar_mailer’ in instructions.
- Moved to ZSS p4 repository
- Supports TLS now. Requested by Dave Thomas. smtp_tls.rb from Kyle Maxwell & etc.
production_log_analyzer version 1.5.0 has been released!
Eric Hodel | Wed, 16 May 2007 21:43:57 GMT
production_log_analyzer provides three tools to analyze log files created by SyslogLogger. pl_analyze for getting daily reports, action_grep for pulling log lines for a single action and action_errors to summarize errors with counts.
http://seattlerb.rubyforge.org/production_log_analyzer
sudo gem install production_log_analyzer
Changes:
1.5.0
- Fixed empty log bug. Patch by Tim Lucas.
- Fixed bug where sometimes lines would be logged before the Processing line. Patch by Geoff Grosenbach.
rails_analyzer_tools version 1.4.0 has been released!
Eric Hodel | Wed, 16 May 2007 21:41:45 GMT
Rails Analyzer Tools contains Bench, a simple web page benchmarker, Crawler, a tool for beating up on web sites, RailsStat, a tool for monitoring Rails web sites, and IOTail, a tail(1) method for Ruby IOs.
http://seattlerb.rubyforge.org/rails_analyzer_tools
sudo gem install rails_analyzer_tools
Changes:
1.4.0
- Moved to seattlerb project.
SyslogLogger 1.4.0 Released
Eric Hodel | Wed, 09 May 2007 03:44:01 GMT
SyslogLogger version 1.4.0 has been released!
http://seattlerb.rubyforge.org/SyslogLogger
SyslogLogger is a Logger replacement that logs to syslog. It is almost drop-in with a few caveats.
Changes:
1.4.0 / 2007-05-08
- Split from rails_analyzer_tools.
- Added eh methods for compatibility with Logger.
- Added syslog-ng instructions. Patch by Tom Lianza.
- Fixed require in documentation. Reported by Gianni Jacklone.
memcache-client version 1.3.0 has been released!
Eric Hodel | Wed, 07 Mar 2007 05:29:02 GMT
http://seattlerb.rubyforge.org/memcache-client
memcache-client is a pure-ruby client to Danga’s memcached.
Changes:
1.3.0
- Apply patch #6507, add stats command. Submitted by Tyler Kovacs.
- Apply patch #6509, parallel implementation of #get_multi. Submitted by Tyler Kovacs.
- Validate keys. Disallow spaces in keys or keys that are too long.
- Perform more validation of server responses. MemCache now reports errors if the socket was not in an expected state. (Please file bugs if you find some.)
- Add #incr and #decr.
- Add raw argument to #set and #get to retrieve #incr and #decr values.
- Also put on MemCacheError when using Cache::get with block.
- memcache.rb no longer sets $TESTING to a true value if it was previously defined. Bug #8213 by Matijs van Zuijlen.
tinderbox version 1.0.0 has been released!
Eric Hodel | Wed, 31 Jan 2007 09:24:00 GMT
tinderbox version 1.0.0 has been released!
http://seattlerb.rubyforge.org/tinderbox
Description
Tinderbox tests projects and tries to make them break by running them on as many different platforms as possible.
Features & Problems
- Tests gems in a sandbox
- Submits gem test results to http://firebrigade.seattlerb.org
- Understands test/unit and RSpec
Changes:
1.0.0 / 2007-01-30
- Tests gems in a sandbox
- Submits results to Firebrigade
- Birthday!
firebrigade_api version 1.0.0 has been released!
Eric Hodel | Wed, 31 Jan 2007 09:13:02 GMT
http://seattlerb.rubyforge.org/firebrigade_api
firebrigade_api is an API wrapper for http://firebrigade.seattlerb.org
Changes
- Birthday!
- Ruby interface to http://firebrigade.seattlerb.org
- User-friendly cache for implementing Tinderbox
rc-rest version 2.2.1 has been released!
Eric Hodel | Wed, 31 Jan 2007 08:18:00 GMT
http://seattlerb.rubyforge.org/rc-rest
This library makes it easy to implement REST-like web services APIs.
Changes:
2.2.1
- Turn IOError into RCRest::CommunicationError for #post and #post_multipart.
rc-rest version 2.2.0 has been released!
Eric Hodel | Tue, 30 Jan 2007 04:59:00 GMT
This library makes it easy to implement REST-like web services APIs.
http://seattlerb.rubyforge.org/rc-rest
Changes:
2.2.0
- Moved to seattlerb rubyforge project
- Moved to p4
- Wrap communication errors in RCRest::CommunicationError

Articles