Logging question

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?