Rails log

i know rails log is very good, detailed.
but find useful infos from big log is terrible.
any one have good idea.

regards

On Sat, Mar 11, 2006 at 06:07:55PM +0100, Joe B. wrote:

i know rails log is very good, detailed.
but find useful infos from big log is terrible.
any one have good idea.

If you work at it a bit, that would make a great haiku.

What kind of information did you have in mind?


- Adam

** Expert Technical Project and Business Management
**** System Performance Analysis and Architecture
****** [ http://www.adamfields.com ]

[ Adam Fields (weblog) - - entertaining hundreds of millions of eyeball atoms every day ] … Blog
[ Adam Fields Resume ]… Experience
[ Adam Fields | Flickr ] … Photos
[ http://www.aquicki.com/wiki ]…Wiki

Once you are happy with a noisy section of code do this:

logger.silence do

noisy code

end

Joe B. wrote:

i know rails log is very good, detailed.
but find useful infos from big log is terrible.
any one have good idea.

regards

Adam F. wrote:

On Sat, Mar 11, 2006 at 06:07:55PM +0100, Joe B. wrote:

i know rails log is very good, detailed.
but find useful infos from big log is terrible.
any one have good idea.

If you work at it a bit, that would make a great haiku.
Data fills the log
Signal gets lost in the fog
Who can find the way?

(sorry…)

Joe B. wrote:

i know rails log is very good, detailed.
but find useful infos from big log is terrible.
any one have good idea.

Are you running in development mode or in production (which logs a lot
less)?

Have you seen the comments in config/environment.rb about setting the
log level? (If you are still getting too much in your log in production,
you could set config.log_level = :warn)

For more information, you could start at:

Peak Obsession

regards

Justin

Log good indeed it is
Use grep one must
Or something else.