title: Rails - Where MongoDB (Mongoid) stores db and logs?
body: <p>I am new to MongoDB and <a href="https://github.com/mongoid/mongoid" rel="noreferrer">Mongoid</a> and I am using Debian testing(<code>jessie/sid</code>).</p>
  
  <p>When I open <code>/etc/mongodb.conf</code> there is no information about where Mongoid stores db and logs.</p>
  
  <p>It just mentions <code>logpath=/var/log/mongodb/mongodb.log</code></p>
  
  <p>Also in <code>config/mongoid.yml</code> there is no useful info:</p>
  
  <pre><code>development:
    sessions:
      default:
        hosts:
          - localhost:27017
        database: project_development
  </code></pre>
  
  <p>How to locate <code>project_development</code> db on disk and logs for that db? Is there a settings somewhere for that?</p>