# xsql_iot_set_level

> Changes the level of the router at runtime.

> ### For an overview see page Introduction to eXtremeDB Active Replication Fabric

> ### Prototype

>         xsql_iot_set_level(level int);

> ### Arguments

> level | The new level for this router

> ### Description

> > This function changes the level of a router at runtime.

> ### Example

>         XSQL>select xsql_iot_set_level(2);
>         #1
>         ------------------------------------------------------------------------------
>         1