# Logging question

**URL:** <https://discuss.rubyonrails.org/t/logging-question/54169>\
**Category:** rubyonrails-talk\
**Created:** [September 6, 2010, 6:33pm UTC](https://discuss.rubyonrails.org/t/logging-question/54169 "2010-09-06T18:33:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badnaam](https://avatars.discourse-cdn.com/v4/letter/b/e36b37/32.png) [@badnaam](https://discuss.rubyonrails.org/u/badnaam)\
**Post date:** [September 6, 2010, 6:33pm UTC](https://discuss.rubyonrails.org/t/logging-question/54169/1 "2010-09-06T18:33:57Z")

</div>

I notice that even though my app logs fine to the dev and prod logs, I am having issue logging from other places like rake and console.

I have a rake task process\_post that calls

#Post model def self.process\_post logger.info "test" end

I verified that the log level is set to "debug", but I never see this message.

Same thing from the development console.

script/console -\> logger.info 'hell0' never gets written to develpoment log.

What am I doing wrong?
