title: How to log PostgreSQL queries?
body: <p>How to enable logging of all SQL executed by PostgreSQL 8.3?</p>
  
  <p><em>Edited (more info)</em>
  I changed these lines :</p>
  
  <pre><code>log_directory = 'pg_log'                    
  log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
  log_statement = 'all'
  </code></pre>
  
  <p>And restart PostgreSQL service... but no log was created... 
  I'm using Windows Server 2003.</p>
  
  <p>Any ideas?</p>