Вопрос

I have a JRuby on Rails application, which is usually deployed as war to Tomcat. In development mode we use either WEBrick or trinidad (usually first). Now we are considering using Toquebox.

I was able to deploy app using Torquebox, but I wonder where can I find development logs (things like request/response details, executed SQL queries etc). I got used to that stuff. JBoss'es console, boot.log and server.log don't contain those - only torquebox specific logging.

Thanks

Это было полезно?

Решение

When you are currently in your applications directory, use

$ less log/development.log

For every enviorement: env

$ less log/<env>.log

For following it (as it appends) use:

$ tail -f log/<env>.log
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top