Forum: Ruby on Rails Logging from a functional (or unit) test

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D4e51fd9554030ab55c379fdc1a34826?d=identicon&s=25 Keith Lancaster (klancaster)
on 2006-01-20 21:55
I've tried any number of ways to output information to the test log from
my tests, but nothing seems to work. Is there a setting someplace that I
am missing? I'm just trying to do something on the order of

logger.info "blah blah"

from my test.

TIA,
Keith
2ccb2f7699267d258faaafce4ee997df?d=identicon&s=25 Cody Fauser (Guest)
on 2006-01-20 22:16
(Received via mailing list)
Keith,

RAILS_DEFAULT_LOGGER.info "blah blah"


Cody


On 1/20/06, Keith Lancaster <klancaster1957@gmail.com> wrote:
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
http://www.codyfauser.com
D4e51fd9554030ab55c379fdc1a34826?d=identicon&s=25 Keith Lancaster (klancaster)
on 2006-01-20 22:26
Cody Fauser wrote:
> Keith,
>
> RAILS_DEFAULT_LOGGER.info "blah blah"
>
>
> Cody
>

Cody - Thanks! It worked.
This topic is locked and can not be replied to.