Question: Does anyone know how to check the logging level in mongodb? I see how to set it, but I'm not sure what the current setting on my server is.

Answer: 
You can use the [`getParameter`](http://docs.mongodb.org/manual/reference/command/getParameter/) command:

```
> use admin;
> db.runCommand({getParameter: 1, logLevel: 1});
{ "logLevel" : 0, "ok" : 1 }

```

Note: as the docs say, it doesn't matter what the values are for those two keys. Or, as Stennie said in the comments, just:

```
> db.adminCommand({getParameter: 1, logLevel: 1});
{ "logLevel" : 0, "ok" : 1 }

```
To basically get the current profiling level use:

```
db.getProfilingLevel()

```

Which returns the current level as in integer. 

For more information use:

```
db.getProfilingStatus()

```

Which has both the profiling level and the slow query/operation threshold.