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 }

```
Now in version 3, you can use

[db.getLogComponents()](https://docs.mongodb.org/manual/reference/method/db.getLogComponents/#db.getLogComponents)

> 
> New in version 3.0.
> 
> 
> Returns the current verbosity settings. The verbosity settings
>  determine the amount of Log Messages that MongoDB produces for each
>  log message component.
> 
> 
> If a component inherits the verbosity level of its parent,
>  db.getLogComponents() displays -1 for the component’s verbosity.
> 
> 
>