diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-30 22:03:25 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-30 22:03:25 -0400 |
commit | ed2aeecfddcbf02a9183a5b5b29262ebda4c27fe (patch) | |
tree | 78e1dbca8b7c1912e2fbbb846ff1bb55f2c41674 /scripts | |
parent | 4173b5ce5168de0da0179720e3b8aec8ce6c2dbb (diff) |
add initialization info to the queue handlers
darcs-hash:20080831020325-84dde-606d52b08146d4c226f812a9f47b5a3ec1abc743.gz
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ombqueuehandler.php | 1 | ||||
-rwxr-xr-x | scripts/publicqueuehandler.php | 1 | ||||
-rwxr-xr-x | scripts/smsqueuehandler.php | 1 | ||||
-rwxr-xr-x | scripts/xmppconfirmhandler.php | 1 | ||||
-rwxr-xr-x | scripts/xmppdaemon.php | 2 | ||||
-rwxr-xr-x | scripts/xmppqueuehandler.php | 1 |
6 files changed, 6 insertions, 1 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php index 292d13956..fa3446853 100755 --- a/scripts/ombqueuehandler.php +++ b/scripts/ombqueuehandler.php @@ -40,6 +40,7 @@ class OmbQueueHandler extends QueueHandler { } function start() { + $this->log(LOG_INFO, "INITIALIZE"); return true; } diff --git a/scripts/publicqueuehandler.php b/scripts/publicqueuehandler.php index eb18d2c34..7176c345b 100755 --- a/scripts/publicqueuehandler.php +++ b/scripts/publicqueuehandler.php @@ -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); diff --git a/scripts/smsqueuehandler.php b/scripts/smsqueuehandler.php index 044aee70f..aa07ca46d 100755 --- a/scripts/smsqueuehandler.php +++ b/scripts/smsqueuehandler.php @@ -40,6 +40,7 @@ class SmsQueueHandler extends QueueHandler { } function start() { + $this->log(LOG_INFO, "INITIALIZE"); return true; } diff --git a/scripts/xmppconfirmhandler.php b/scripts/xmppconfirmhandler.php index 7a369a33f..d2dbe4abc 100755 --- a/scripts/xmppconfirmhandler.php +++ b/scripts/xmppconfirmhandler.php @@ -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); diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index 1cfcd481f..77cfc1963 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -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() { diff --git a/scripts/xmppqueuehandler.php b/scripts/xmppqueuehandler.php index 52db0eb59..5015274c6 100755 --- a/scripts/xmppqueuehandler.php +++ b/scripts/xmppqueuehandler.php @@ -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); |