Page MenuHomePhorge

D5571.1775302865.diff
No OneTemporary

Authored By
Unknown
Size
767 B
Referenced Files
None
Subscribers
None

D5571.1775302865.diff

diff --git a/plugins/kolab/Kolab/Configuration.php b/plugins/kolab/Kolab/Configuration.php
--- a/plugins/kolab/Kolab/Configuration.php
+++ b/plugins/kolab/Kolab/Configuration.php
@@ -128,6 +128,13 @@
$this->rc->config->set($key, true);
}
+ // We have to set activesync_debug mode directly on the logger, as the framework is already initialized
+ if (defined('KOLAB_SYNC_START')) {
+ if ($this->rc->logger) {
+ $this->rc->logger->mode = \kolab_sync_logger::DEBUG;
+ }
+ }
+
// SQL debug need to be set directly on DB object. Setting config variable will not work here
// because the object is already initialized/configured
if ($db = $this->rc->get_dbh()) {

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 11:41 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18829263
Default Alt Text
D5571.1775302865.diff (767 B)

Event Timeline