title: MongoDB: "Unrecognized option: systemLog"
body: <p>guys.</p>
  
  <p>I have a problem with the configuration files of MongoDB. It seem that use the YAML syntax.</p>
  
  <p>I follow the instruction on the official website. I read something about YAML and I tried to figure out what is wrong, but I don't got any result.This is the mongod.conf file</p>
  
  <pre><code># mongod.conf
  
  systemLog:
    verbosity=5
    traceAllExceptions=true
    path="/var/log/mongodb/mongod.log"
    destination=file
    timeStampFormat=iso8601-utc
    pidFilePath="/run/mongod.pid"
  
  net:
    port=[8040,8041,8042]
    wiredObjectCheck=true
    ssl.mode=preferSSL
    ssl.PEMKeyFile="/var/lib/mongodb/mongo.pem"
    serviceExecutor=adaptive
  
  storage:
    dbPath="/home/juny/nodeBox/data/db"
  
  operationProfiling.mode=slowOp
  </code></pre>
  
  <p>It's suppose to work well, when you execute the following command:</p>
  
  <pre><code>service mongod start
  </code></pre>
  
  <p>But when you type following command: </p>
  
  <pre><code>service mongod status
  </code></pre>
  
  <p>The terminal display this:</p>
  
  <pre><code>● mongod.service - MongoDB Database Server
  Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Sat 2019-05-25 20:12:24 AST; 2min 21s ago
   Docs: https://docs.mongodb.org/manual
  Process: 5093 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=2)
  Main PID: 5093 (code=exited, status=2)
  
  May 25 20:12:24 systemd[1]: Started MongoDB Database Server.
  May 25 20:12:24 systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
  May 25 20:12:24 systemd[1]: mongod.service: Unit entered failed state.
  May 25 20:12:24 systemd[1]: mongod.service: Failed with result 'exit-code'.
  </code></pre>
  
  <p>I type the following command</p>
  
  <pre><code>sudo mongod --config=/etc/mongod.conf
  </code></pre>
  
  <p>and this is the result</p>
  
  <pre><code>Unrecognized option: systemLog
  try 'mongod --help' for more information
  </code></pre>