# How To Enable Debug Level Logging for Imagelibrary Service on Host.

## Problem

How to enable debug level logging for **Imagelibrary** Service on Host?

## Environment

* Platform9 Managed OpenStack - All Versions
* Glance

## Procedure

1. Enable the debug level in the log config file /etc/pf9/imagelibrary/logging.conf of **pf9-imagelibrary** service on the node running Imagelibrary service.

{% tabs %}
{% tab title="None" %}

```none
$ less /etc/pf9/imagelibrary/logging.conf 
[logger_root]
level=DEBUG <<< By default it is set to INFO
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="None" %}

```none
$ sudo service pf9-imagelibrary restart
```

{% endtab %}
{% endtabs %}
