When I use rails/server (WEBrick) I get constant debug info (queries, etc) from my rails app as console output. Is there a way to get this debug output with Pow?
Thanks
You can check the HTTP requests that Pow receives by running tail -f
on the log file of your choice in the ~/Library/Logs/Pow
directory. Check out the Pow manual section on Viewing Log Files
If you're looking for Rails specific logs, they'll be located in the log/
directory of your application. For instance, if you want to watch the development log for your application switch to the root director of the application and run:
tail -f log/development.log
There's also less
which will give you a few more options, but isn't quite as simple to use.
less -R log/development.log
and then press ctrl-f
to follow new output to the file. Pressing h
will give you a more detailed help menu.