title: Odoo: How to place debug lines in server code for viewing in /var/log/odoo
body: <p>I did the following:</p>
  
  <ol>
  <li>Placed some print debug lines in <code>/usr/lib/python2.7/dist-packages/openerp/models.py</code></li>
  <li>Restart the Odoo server via <code>sudo service odoo restart</code></li>
  <li>Login to the Odoo server and perform the actions that will trigger the debug line in step 1.</li>
  </ol>
  
  <p>But my print debug lines aren't appearing in <code>/var/log/odoo/odoo-server.log
  </code></p>
  
  <p>Am I missing any steps above? How to debug Python code in Odoo in general? Thanks!</p>