Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Debugging WAP

Timotheus Pokorra edited this page Mar 23, 2016 · 5 revisions

To enable TRACE debugging via /usr/share/kolab-webadmin/lib/Log.php, edit /etc/kolab/kolab.conf:

[kolab_wap]
debug_mode = TRACE

You find the logs in /var/log/kolab-webadmin/console (TRACE, DEBUG, and INFO messages) and /var/log/kolab-webadmin/errors (WARNING and ERROR messages)

To add your own debug messages, call anywhere in the WAP code:

Log::error("my test log appears in /var/log/kolab-webadmin/errors");

Debugging in /usr/share/php/Net/LDAP3.php:

$this->_error("my test log appears in /var/log/kolab-webadmin/errors");

Clone this wiki locally