> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/rpr/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/rpr/latest/troubleshooting/logging.md).

# Preventing logs overload

Using an unsuitable log level, such as `debug` under high load, can lead to excessive resource usage due to a high number of log messages. To fix this, RPR allows you to change the [logging](https://docs.cennso.com/components/rpr/latest/configuration/logging.md) configuration at runtime.

To change the log level, run the following commands in the RPR remote console:

```elixir
require Logger
Logger.configure(level: :debug)
```

To adjust the overload protection configuration, use the following commands in the RPR remote console:

```elixir
{:ok, current_config} = :logger.get_handler_config(:rpr_logger)
new_config = %{config: %{burst_limit_max_count: 20, drop_mode_qlen: 80}}
:logger.update_handler_config(:rpr_logger, :maps.merge(current_config, new_config))
```

>**NOTE:** These changes are temporary and only last while the RPR instance is running. To make them permanent, you need to manually reset or persist them in the RPR configuration.
