# Advance Configuration

This page describes the steps to configure advance options for <code class="expression">space.vars.product\_name</code> block storage service and steps to debug issues with the block storage service.

## Image Library Service Components

The <code class="expression">space.vars.product\_name</code> image library service has it's components deployed in the <code class="expression">space.vars.product\_name</code> management plane as well as on each host that has image library role assigned.

On each host with persistent storage role assigned, <code class="expression">space.vars.product\_name</code> runs an instance of the following services:

```bash
pf9-glance-api.service
pf9-imagelibrary
```

## Enable Advance Configuration

### Pre-requisites

* Root privileges on the host with image library role assigned.
* Make sure that no other users are currently using the image library service as this operation will require a service restart.

### Step 1 - Identify Configuration File

* Identify the image library service configuration file located on the host with image library role assigned, where you are looking to enable advance configuration options.
* The file is typically located at the following path on the host:

```bash
/etc/glance/glance-api.conf
```

* open the file in a text editor to edit it

```bash
sudo vi /etc/glance/glance-api.conf
```

### Step 2 - Make Required Changes

* Make the desired changes to this file based on what configuration option you wish to edit. Follow [#options-you-can-configure](#options-you-can-configure "mention") to identify the specific configuration you wish to tweak.

### Step 3 - Restart Service

* Once you've made the required changes to the config file, **save the file** and exit the text editor
* Now you will need to restart the block storage service in order for the changes to take effect. Follow these steps to restart the service:

```bash
sudo service pf9-glance-api.service restart
```

## Options You Can Configure

### Enable Debug Logging

Refer to [#log-files](https://docs.platform9.com/private-cloud-director/2025.10/troubleshooting-and-log-files#log-files "mention")for the location of image library service log files. To enable debug logging for the image library service, edit the following property in the configuration file.

```bash
[DEFAULT]
debug = true  # Enable debug logging 
```
