iredmail-doc/en_US/troubleshooting/debug.sogo.md

22 lines
744 B
Markdown

# Turn on debug mode in SOGo
In [SOGo config file](./file.locations.html#sogo), you can find several debug
options, like below:
```
// Enable verbose logging. Reference:
// http://www.sogo.nu/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html
//SOGoDebugRequests = YES;
//SOGoEASDebugEnabled = YES;
//ImapDebugEnabled = YES;
//LDAPDebugEnabled = YES;
//MySQL4DebugEnabled = YES;
//PGDebugEnabled = YES;
```
Please uncomment the one you need, then restart SOGo service. You can find
debug log in its log file `/var/log/sogo/sogo.log`.
If you need source code level debugging, please read this tutorial instead:
[How do I debug SOGo?](https://sogo.nu/support/faq/how-do-i-debug-sogo.html).