diff --git a/README.md b/README.md index 3bfbdcee..4794edc8 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ * [Turn on debug mode in Amavisd](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.amavisd.md) * [Turn on debug mode in Cluebringer](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.cluebringer.md) * [Turn on debug mode in Dovecot](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.dovecot.md) +* [Turn on debug mode in iRedAPD](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.iredapd.md) * [Turn on debug mode in OpenLDAP](https://bitbucket.org/zhb/docs.iredmail.org/src/default/troubleshooting/turn.on.debug.mode.in.openldap.md) # Frequently Asked Questions * [Locations of configuration and log files of mojor components](https://bitbucket.org/zhb/docs.iredmail.org/src/default/faq/file.locations.md) diff --git a/html/index.html b/html/index.html index 1ff2eff6..817e52c4 100644 --- a/html/index.html +++ b/html/index.html @@ -70,6 +70,7 @@
  • Turn on debug mode in Amavisd
  • Turn on debug mode in Cluebringer
  • Turn on debug mode in Dovecot
  • +
  • Turn on debug mode in iRedAPD
  • Turn on debug mode in OpenLDAP
  • Frequently Asked Questions

    diff --git a/html/turn.on.debug.mode.in.iredapd.html b/html/turn.on.debug.mode.in.iredapd.html new file mode 100644 index 00000000..1d68c7e6 --- /dev/null +++ b/html/turn.on.debug.mode.in.iredapd.html @@ -0,0 +1,35 @@ + + + + Turn on debug mode in iRedAPD + + + + +

    Turn on debug mode in iRedAPD

    +

    To turn on debug mode in iRedAPD, please set its log level to 'debug' in +iRedAPD config file /opt/iredapd/settings.py, then restart iRedAPD +service.

    +
    # Log level: info, debug.
    +log_level = 'debug'
    +
    + +

    iRedAPD is configured to log to /var/log/iredapd.log by default, so +please monitor this file to check detailed debug log.


    If you found something wrong +in this document, please do +contact us to fix it.

    This tutorial is published under a CC BY-ND 3.0 license. + + + \ No newline at end of file diff --git a/troubleshooting/turn.on.debug.mode.in.iredapd.md b/troubleshooting/turn.on.debug.mode.in.iredapd.md new file mode 100644 index 00000000..8825e246 --- /dev/null +++ b/troubleshooting/turn.on.debug.mode.in.iredapd.md @@ -0,0 +1,13 @@ +# Turn on debug mode in iRedAPD + +To turn on debug mode in iRedAPD, please set its log level to 'debug' in +iRedAPD config file `/opt/iredapd/settings.py`, then restart iRedAPD +service. + +``` +# Log level: info, debug. +log_level = 'debug' +``` + +iRedAPD is configured to log to `/var/log/iredapd.log` by default, so +please monitor this file to check detailed debug log.