# Logging question

**URL:** <https://www.ruby-forum.com/t/logging-question/197235>\
**Category:** Rails\
**Created:** [September 6, 2010, 8:33pm UTC](https://www.ruby-forum.com/t/logging-question/197235 "2010-09-06T20:33:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badnaam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e36b37/32.png) [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Post date:** [September 6, 2010, 8:33pm UTC](https://www.ruby-forum.com/t/logging-question/197235/1 "2010-09-06T20:33:08Z")

</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?
