views:

15

answers:

0

So I just deployed my first rails app (using passenger) and I have set - RailsEnv test

I was looking at the test.log and its empty. So I have a few questions on rails logs -

  • I don't see development like logs in test.log - things like details of request & SQL etc
  • Okay may be test != development, that why??

Also, I tried this in my controller - logger.info("Some output")

and in env config in test.rb, i had this - config.log_level = :info

Still doesn't work??

Thanks.