summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ombqueuehandler.php1
-rwxr-xr-xscripts/publicqueuehandler.php1
-rwxr-xr-xscripts/smsqueuehandler.php1
-rwxr-xr-xscripts/xmppconfirmhandler.php1
-rwxr-xr-xscripts/xmppdaemon.php2
-rwxr-xr-xscripts/xmppqueuehandler.php1
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);