summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-18 16:27:02 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-18 16:27:02 -0400
commit957df3d43d82cd2c98cf40f94b461ca31025d20b (patch)
tree26e751a2e798ecdb63ae0212ab64d87368b7a26d
parentc31d6e7fb1460d895a57f5a6706291e6f5c4db3d (diff)
add some logging
darcs-hash:20080718202702-84dde-7a7e8223323c93cfae74f497cef1cf55e8a75c47.gz
-rwxr-xr-xmaildaemon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/maildaemon.php b/maildaemon.php
index c48335fea..e6a345630 100755
--- a/maildaemon.php
+++ b/maildaemon.php
@@ -41,6 +41,7 @@ class MailerDaemon {
if (!$from || !$to || !$msg) {
$this->error(NULL, _t('Could not parse message.'));
}
+ common_log(LOG_INFO, "Mail from $from to $to: " .substr($msg, 0, 20));
$user = User::staticGet('email', common_canonical_email($from));
if (!$user) {
$this->error($from, _('Not a registered user.'));