<?xml version="1.0" encoding="UTF-8"?>
<wiki-page>
  <author>Dimitrij Denissenko</author>
  <content>h1. Logfiles

Retrospectiva - as a RubyOnRails application - comes with a built-in logger. All messages are usually written to the *log/production.log* file (unless you are not running in +production+ mode). You can open and read the file using a simple text editor. To monitor the current processing of your installation, go to your Retrospectiva directory and type
{{{
  tail -f log/production.log
}}}

h1. General

Before you despair, Retrospectiva comes together with a small diagnostics tool called +*fix*+. If you want to test your installation for possible error sources just run the script *with the user account that will later run the application on the web*. It you (for example) run your application using Webrick or Mongrel as @hugo@, you need to use the following example:
{{{
  su hugo -c "ruby script/fix" 
}}}

If you run Retrospectiva within Apache+FCGI, your executing user account will most likely be @www-data@. In that case the +right+ command would be:
{{{
  su www-data -c "ruby script/fix" 
}}}
</content>
  <created-at type="datetime">2007-03-20T08:03:22+00:00</created-at>
  <title>Troubleshooting</title>
  <updated-at type="datetime">2010-01-15T21:42:54+00:00</updated-at>
  <version type="integer">9</version>
</wiki-page>
