]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add initialization info to the queue handlers
authorEvan Prodromou <evan@prodromou.name>
Sun, 31 Aug 2008 02:03:25 +0000 (22:03 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sun, 31 Aug 2008 02:03:25 +0000 (22:03 -0400)
darcs-hash:20080831020325-84dde-606d52b08146d4c226f812a9f47b5a3ec1abc743.gz

scripts/ombqueuehandler.php
scripts/publicqueuehandler.php
scripts/smsqueuehandler.php
scripts/xmppconfirmhandler.php
scripts/xmppdaemon.php
scripts/xmppqueuehandler.php

index 292d1395634491e71c8b03d51e03d23a9602cf5b..fa344685384f979f3eebf55dee3d32fc8f27d441 100755 (executable)
@@ -40,6 +40,7 @@ class OmbQueueHandler extends QueueHandler {
        }
        
        function start() {
+               $this->log(LOG_INFO, "INITIALIZE");
                return true;
        }
 
index eb18d2c347b754ec4a957b1b6bc0b06dd727bf3f..7176c345b9e23974b94ffc1bd31b23de222107f1 100755 (executable)
@@ -40,6 +40,7 @@ class PublicQueueHandler extends QueueHandler {
        }
        
        function start() {
+               $this->log(LOG_INFO, "INITIALIZE");
                # Low priority; we don't want to receive messages
                $this->conn = jabber_connect($this->_id, NULL, -1);
                $this->conn->addEventHandler('message', 'forward_message', $this);
index 044aee70f07fb679864d433959592ee20a3e3fae..aa07ca46dc55957c503ccb719b3b94acc1284b5c 100755 (executable)
@@ -40,6 +40,7 @@ class SmsQueueHandler extends QueueHandler {
        }
 
        function start() {
+               $this->log(LOG_INFO, "INITIALIZE");
                return true;
        }
 
index 7a369a33f25c8060f3aef1805e7ac3852bf40f61..d2dbe4abca43eaaebad859d9a4754be1103d1b13 100755 (executable)
@@ -47,6 +47,7 @@ class XmppConfirmHandler {
 
        function start() {
                # Low priority; we don't want to receive messages
+               $this->log(LOG_INFO, "INITIALIZE");
                $this->conn = jabber_connect($this->_id, NULL, -1);
                $this->conn->addEventHandler('message', 'forward_message', $this);
                return !is_null($this->conn);
index 1cfcd481f54cec44acf3a1e4bc91aa6eff62bedf..77cfc1963ff9d221400c4b7c26d24208dfd9382a 100755 (executable)
@@ -52,7 +52,7 @@ class XMPPDaemon {
                        $this->resource = common_config('xmpp', 'resource') . 'daemon';
                }
 
-               $this->log(LOG_INFO, "{$this->user}@{$this->server}/{$this->resource}");
+               $this->log(LOG_INFO, "INITIALIZE XMPPDaemon {$this->user}@{$this->server}/{$this->resource}");
        }
 
        function connect() {
index 52db0eb59fe478eb46f8ef27bd7fb1b8ff0a6812..5015274c6cc7152bf89268244a9971e5ce686432 100755 (executable)
@@ -42,6 +42,7 @@ class XmppQueueHandler extends QueueHandler {
        }
 
        function start() {
+               $this->log(LOG_INFO, "INITIALIZE");
                # Low priority; we don't want to receive messages
                $this->conn = jabber_connect($this->_id, NULL, -1);
                $this->conn->addEventHandler('message', 'forward_message', $this);