Monday, January 10, 2011

[Rails] How to filter db column(s) from log.

Hi, All!

I have been looking for a way to eliminate the contents of certain
large (e.g. pdf files) database columns from my development (and
production) logs using RoR 3 with no luck. I found many posts, etc.
about eliminating parameters (e.g. password) from the log, but nothing
about the contents of the db.

I have two reasons for this, 1) the verbosity and size of the log slow
down my development/debugging, and 2) writing these columns definitely
slows the operation of the site itself.

Can anyone help?

TIA

Donz

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate