Skip to content

Debugging

zzolo edited this page Jul 25, 2011 · 2 revisions

The application is configured to log to logs/access.log and logs/main.log.

Main log

Not sure if this is the default state or part of the developer edition, but almost all SQL commands and lots of other things are put into the main.log.

  • You can view the log live with the following command: tail -f logs/main.log

Development Debugging

It is suggested to use an IDE that supports debugging, but in the case where that is not available, you use the following to help debug.

  • Output variables with web.debug(variable). This will get outputted to the logs/main.log, not the terminal.
Clone this wiki locally