# Turn on debug mode in Cluebringer

Warning

Cluebringer has been removed from iRedMail since iRedMail-0.9.3, if you're still running Cluebringer, please follow our tutorial to migrate to iRedAPD: Migrate from Cluebringer to iRedAPD.

To turn on debug mode in Cluebringer, please increase its log level in Cluebringer config file, set what it should log, and restart Cluebringer service.

- on RHEL/CentOS, it's `/etc/policyd/cluebringer.conf`.
- on Debian/Ubuntu, it's `/etc/cluebringer/cluebringer.conf`.
- on FreeBSD, it's `/usr/local/etc/cluebringer.conf`.
- on OpenBSD: we don't have Cluebringer installed. We use built-in spamd(8) for greylisting, whitelisting and blacklisting.

    log_level=4
    log_detail=modules,tracking,policies

Cluebringer is configured to log to `/var/log/cbpolicyd.log` by default, so please monitor this file to check detailed debug log.