---
title: Configuring Logging
description: "Logging can be helpful for troubleshooting issues or keeping a log of activity. **By default, all logging is disabled.** ### To turn logging on - Open /config/config.php in a text editor - Locate `$conf['settings']['logging']['log.dir']` (If this setting does not exist,…"
url: "https://www.bookedscheduler.com/help/configuration/configuring-logging/"
updated: "2026-01-09"
category: Configuration
---

# Configuring Logging

Logging can be helpful for troubleshooting issues or keeping a log of activity.

**By default, all logging is disabled.**

### To turn logging on

- Open /config/config.php in a text editor
- Locate `$conf['settings']['logging']['log.dir']` (If this setting does not exist, add it)
- Set this value to the full or relative directory path where you want the Booked log files written. (This directory must be writable)
- Locate `$conf['settings']['logging']['log.level']` (If this setting does not exist, add it)
- Set this value to either `debug` or `error`. Debug level logging will capture diagnostic and informational logs. Error logging will only capture errors. Error is the default and recommended setting.
- Save /config/config.php

### To turn logging off

- Open /config/config.php in a text editor
- Locate `$conf['settings']['logging']['log.dir']`
- Set this value to a blank string
- Save /config/config.php
