# setLogLevel {#setloglevel}

## Syntax {#syntax}

`setLogLevel(logLevel)`

## Arguments {#arguments}

**logLevel** indicates the log level. The optional values from low to high are: DEBUG, INFO, WARNING, and ERROR.

## Details {#details}

Set the log level on the current node online. After setting the log level, only logs at and above the specified *logLevel* are printed.

The command can only be executed by an administrator.

