# LogLevel

> The minimum log level the server uses for console and file output.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.DedicatedServer](/engine/6000.5/script-reference/unityengine/dedicatedserver.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static int? LogLevel { get; set; }
```

### Remarks

The log level that Unity parses from the `-loglevel` command-line flag. If the flag isn't present, Unity uses the value from Dedicated Server Player settings. If no value is configured, this property returns `null`. The log level is an integer value where `0` is debug and `1` is info.
